pub struct Marker { /* private fields */ }
Implementations
sourceimpl Marker
impl Marker
pub fn new(id: StringSymbol) -> Self
Trait Implementations
sourceimpl MetaObject for Marker
impl MetaObject for Marker
fn type_tag(&self) -> Type
fn cmp_eq(&self, other: &Variant) -> Option<ExecResult<bool>>
fn type_name(&self) -> ExecResult<StringValue>
fn fmt_echo(&self) -> ExecResult<StringValue>
fn as_bool(&self) -> ExecResult<bool>
fn as_bits(&self) -> Option<ExecResult<IntType>>
fn as_int(&self) -> Option<ExecResult<IntType>>
fn as_float(&self) -> Option<ExecResult<FloatType>>
fn iter_init(&self) -> Option<ExecResult<IterState>>
fn iter_next(&self, state: &Variant) -> Option<ExecResult<Variant>>
fn iter_get(&self, state: &Variant) -> Option<ExecResult<Variant>>
fn len(&self) -> Option<ExecResult<usize>>
fn invoke(&self, args: &[Variant]) -> Option<ExecResult<Call>>
fn op_neg(&self) -> Option<ExecResult<Variant>>
fn op_pos(&self) -> Option<ExecResult<Variant>>
fn op_inv(&self) -> Option<ExecResult<Variant>>
fn op_mul(&self, rhs: &Variant) -> Option<ExecResult<Variant>>
fn op_rmul(&self, lhs: &Variant) -> Option<ExecResult<Variant>>
fn op_div(&self, rhs: &Variant) -> Option<ExecResult<Variant>>
fn op_rdiv(&self, lhs: &Variant) -> Option<ExecResult<Variant>>
fn op_mod(&self, rhs: &Variant) -> Option<ExecResult<Variant>>
fn op_rmod(&self, lhs: &Variant) -> Option<ExecResult<Variant>>
fn op_add(&self, rhs: &Variant) -> Option<ExecResult<Variant>>
fn op_radd(&self, lhs: &Variant) -> Option<ExecResult<Variant>>
fn op_sub(&self, rhs: &Variant) -> Option<ExecResult<Variant>>
fn op_rsub(&self, lhs: &Variant) -> Option<ExecResult<Variant>>
fn op_and(&self, rhs: &Variant) -> Option<ExecResult<Variant>>
fn op_rand(&self, lhs: &Variant) -> Option<ExecResult<Variant>>
fn op_xor(&self, rhs: &Variant) -> Option<ExecResult<Variant>>
fn op_rxor(&self, lhs: &Variant) -> Option<ExecResult<Variant>>
fn op_or(&self, rhs: &Variant) -> Option<ExecResult<Variant>>
fn op_ror(&self, lhs: &Variant) -> Option<ExecResult<Variant>>
fn op_shl(&self, rhs: &Variant) -> Option<ExecResult<Variant>>
fn op_rshl(&self, lhs: &Variant) -> Option<ExecResult<Variant>>
fn op_shr(&self, rhs: &Variant) -> Option<ExecResult<Variant>>
fn op_rshr(&self, lhs: &Variant) -> Option<ExecResult<Variant>>
fn cmp_lt(&self, other: &Variant) -> Option<ExecResult<bool>>
fn cmp_le(&self, other: &Variant) -> Option<ExecResult<bool>>
impl Copy for Marker
impl Eq for Marker
impl StructuralEq for Marker
impl StructuralPartialEq for Marker
Auto Trait Implementations
impl RefUnwindSafe for Marker
impl !Send for Marker
impl !Sync for Marker
impl Unpin for Marker
impl UnwindSafe for Marker
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more