Type Alias FloatType

Source
pub type FloatType = f64;

Trait Implementations§

Source§

impl MetaObject for FloatType

Source§

fn type_tag(&self) -> Type

Source§

fn as_float(&self) -> Option<ExecResult<FloatType>>

Source§

fn op_neg(&self) -> Option<ExecResult<Variant>>

Source§

fn op_pos(&self) -> Option<ExecResult<Variant>>

Source§

fn op_mul(&self, rhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_rmul(&self, lhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_div(&self, rhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_rdiv(&self, lhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_mod(&self, rhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_rmod(&self, lhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_add(&self, rhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_radd(&self, lhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_sub(&self, rhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_rsub(&self, lhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn cmp_eq(&self, other: &Variant) -> Option<ExecResult<bool>>

Source§

fn cmp_lt(&self, other: &Variant) -> Option<ExecResult<bool>>

Source§

fn cmp_le(&self, other: &Variant) -> Option<ExecResult<bool>>

Source§

fn fmt_repr(&self) -> ExecResult<StringValue>

Source§

fn type_name(&self) -> ExecResult<StringValue>

Source§

fn as_bool(&self) -> ExecResult<bool>

Source§

fn as_bits(&self) -> Option<ExecResult<IntType>>

Source§

fn as_int(&self) -> Option<ExecResult<IntType>>

Source§

fn iter_init(&self) -> Option<ExecResult<IterState>>

Source§

fn iter_next(&self, state: &Variant) -> Option<ExecResult<Variant>>

Source§

fn iter_get(&self, state: &Variant) -> Option<ExecResult<Variant>>

Source§

fn len(&self) -> Option<ExecResult<usize>>

Source§

fn invoke(&self, args: &[Variant]) -> Option<ExecResult<Call>>

Source§

fn op_inv(&self) -> Option<ExecResult<Variant>>

Source§

fn op_and(&self, rhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_rand(&self, lhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_xor(&self, rhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_rxor(&self, lhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_or(&self, rhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_ror(&self, lhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_shl(&self, rhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_rshl(&self, lhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_shr(&self, rhs: &Variant) -> Option<ExecResult<Variant>>

Source§

fn op_rshr(&self, lhs: &Variant) -> Option<ExecResult<Variant>>