pub enum MetaMethod {
Show 17 variants
Index,
NewIndex,
Add,
Sub,
Mul,
Div,
Mod,
Pow,
Unm,
Len,
Eq,
Lt,
Le,
Concat,
Call,
ToString,
Pairs,
}Variants§
Trait Implementations§
Source§impl Clone for MetaMethod
impl Clone for MetaMethod
Source§fn clone(&self) -> MetaMethod
fn clone(&self) -> MetaMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetaMethod
impl Debug for MetaMethod
Source§impl Hash for MetaMethod
impl Hash for MetaMethod
Source§impl PartialEq for MetaMethod
impl PartialEq for MetaMethod
Source§fn eq(&self, other: &MetaMethod) -> bool
fn eq(&self, other: &MetaMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MetaMethod
impl Eq for MetaMethod
impl StructuralPartialEq for MetaMethod
Auto Trait Implementations§
impl Freeze for MetaMethod
impl RefUnwindSafe for MetaMethod
impl Send for MetaMethod
impl Sync for MetaMethod
impl Unpin for MetaMethod
impl UnsafeUnpin for MetaMethod
impl UnwindSafe for MetaMethod
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more