[][src]Trait moss::object::Interface

pub trait Interface {
    fn as_any(&self) -> &dyn Any;

    fn to_string(
        self: Rc<Self>,
        _env: &mut Env
    ) -> Result<String, Box<Exception>> { ... }
fn add(self: Rc<Self>, _b: &Object, _env: &mut Env) -> FnResult { ... }
fn radd(self: Rc<Self>, _a: &Object, _env: &mut Env) -> FnResult { ... }
fn sub(self: Rc<Self>, _b: &Object, _env: &mut Env) -> FnResult { ... }
fn rsub(self: Rc<Self>, _a: &Object, _env: &mut Env) -> FnResult { ... }
fn mul(self: Rc<Self>, _b: &Object, _env: &mut Env) -> FnResult { ... }
fn rmul(self: Rc<Self>, _a: &Object, _env: &mut Env) -> FnResult { ... }
fn div(self: Rc<Self>, _b: &Object, _env: &mut Env) -> FnResult { ... }
fn rdiv(self: Rc<Self>, _a: &Object, _env: &mut Env) -> FnResult { ... }
fn idiv(self: Rc<Self>, _b: &Object, env: &mut Env) -> FnResult { ... }
fn ridiv(self: Rc<Self>, _a: &Object, env: &mut Env) -> FnResult { ... }
fn imod(self: Rc<Self>, _b: &Object, _env: &mut Env) -> FnResult { ... }
fn rimod(self: Rc<Self>, _b: &Object, _env: &mut Env) -> FnResult { ... }
fn pow(self: Rc<Self>, _b: &Object, env: &mut Env) -> FnResult { ... }
fn rpow(self: Rc<Self>, _b: &Object, env: &mut Env) -> FnResult { ... }
fn eq_plain(&self, _b: &Object) -> bool { ... }
fn req_plain(&self, _a: &Object) -> bool { ... }
fn eq(self: Rc<Self>, _b: &Object, _env: &mut Env) -> FnResult { ... }
fn req(self: Rc<Self>, _a: &Object, _env: &mut Env) -> FnResult { ... }
fn rin(&self, _x: &Object, _env: &mut Env) -> FnResult { ... }
fn lt(self: Rc<Self>, _y: &Object, _env: &mut Env) -> FnResult { ... }
fn le(self: Rc<Self>, _y: &Object, _env: &mut Env) -> FnResult { ... }
fn rlt(self: Rc<Self>, _x: &Object, _env: &mut Env) -> FnResult { ... }
fn rle(self: Rc<Self>, _x: &Object, _env: &mut Env) -> FnResult { ... }
fn neg(self: Rc<Self>, _env: &mut Env) -> FnResult { ... }
fn abs(self: Rc<Self>, env: &mut Env) -> FnResult { ... }
fn sgn(self: Rc<Self>, env: &mut Env) -> FnResult { ... }
fn get(&self, key: &Object, env: &mut Env) -> FnResult { ... }
fn set(&self, env: &mut Env, key: Object, _value: Object) -> FnResult { ... }
fn index(self: Rc<Self>, _indices: &[Object], env: &mut Env) -> FnResult { ... }
fn set_index(
        &self,
        _indices: &[Object],
        _value: &Object,
        env: &mut Env
    ) -> FnResult { ... }
fn type_name(&self, _env: &mut Env) -> String { ... }
fn get_type(&self, env: &mut Env) -> FnResult { ... }
fn is_instance_of(&self, _type_obj: &Object, _rte: &RTE) -> bool { ... }
fn hash(&self) -> u64 { ... }
fn iter(self: Rc<Self>, env: &mut Env) -> FnResult { ... } }

Required methods

fn as_any(&self) -> &dyn Any

Loading content...

Provided methods

fn to_string(self: Rc<Self>, _env: &mut Env) -> Result<String, Box<Exception>>

fn add(self: Rc<Self>, _b: &Object, _env: &mut Env) -> FnResult

fn radd(self: Rc<Self>, _a: &Object, _env: &mut Env) -> FnResult

fn sub(self: Rc<Self>, _b: &Object, _env: &mut Env) -> FnResult

fn rsub(self: Rc<Self>, _a: &Object, _env: &mut Env) -> FnResult

fn mul(self: Rc<Self>, _b: &Object, _env: &mut Env) -> FnResult

fn rmul(self: Rc<Self>, _a: &Object, _env: &mut Env) -> FnResult

fn div(self: Rc<Self>, _b: &Object, _env: &mut Env) -> FnResult

fn rdiv(self: Rc<Self>, _a: &Object, _env: &mut Env) -> FnResult

fn idiv(self: Rc<Self>, _b: &Object, env: &mut Env) -> FnResult

fn ridiv(self: Rc<Self>, _a: &Object, env: &mut Env) -> FnResult

fn imod(self: Rc<Self>, _b: &Object, _env: &mut Env) -> FnResult

fn rimod(self: Rc<Self>, _b: &Object, _env: &mut Env) -> FnResult

fn pow(self: Rc<Self>, _b: &Object, env: &mut Env) -> FnResult

fn rpow(self: Rc<Self>, _b: &Object, env: &mut Env) -> FnResult

fn eq_plain(&self, _b: &Object) -> bool

fn req_plain(&self, _a: &Object) -> bool

fn eq(self: Rc<Self>, _b: &Object, _env: &mut Env) -> FnResult

fn req(self: Rc<Self>, _a: &Object, _env: &mut Env) -> FnResult

fn rin(&self, _x: &Object, _env: &mut Env) -> FnResult

fn lt(self: Rc<Self>, _y: &Object, _env: &mut Env) -> FnResult

fn le(self: Rc<Self>, _y: &Object, _env: &mut Env) -> FnResult

fn rlt(self: Rc<Self>, _x: &Object, _env: &mut Env) -> FnResult

fn rle(self: Rc<Self>, _x: &Object, _env: &mut Env) -> FnResult

fn neg(self: Rc<Self>, _env: &mut Env) -> FnResult

fn abs(self: Rc<Self>, env: &mut Env) -> FnResult

fn sgn(self: Rc<Self>, env: &mut Env) -> FnResult

fn get(&self, key: &Object, env: &mut Env) -> FnResult

fn set(&self, env: &mut Env, key: Object, _value: Object) -> FnResult

fn index(self: Rc<Self>, _indices: &[Object], env: &mut Env) -> FnResult

fn set_index(
    &self,
    _indices: &[Object],
    _value: &Object,
    env: &mut Env
) -> FnResult

fn type_name(&self, _env: &mut Env) -> String

fn get_type(&self, env: &mut Env) -> FnResult

fn is_instance_of(&self, _type_obj: &Object, _rte: &RTE) -> bool

fn hash(&self) -> u64

fn iter(self: Rc<Self>, env: &mut Env) -> FnResult

Loading content...

Implementors

impl Interface for Table[src]

fn req_plain(&self, _a: &Object) -> bool[src]

fn rin(&self, _x: &Object, _env: &mut Env) -> FnResult[src]

fn sgn(self: Rc<Self>, env: &mut Env) -> FnResult[src]

fn set_index(
    &self,
    _indices: &[Object],
    _value: &Object,
    env: &mut Env
) -> FnResult
[src]

fn hash(&self) -> u64[src]

Loading content...