Enum lua::userdata::MetaMethod [−][src]
pub enum MetaMethod {
ToString,
Index,
NewIndex,
Add,
Sub,
Mul,
Div,
Mod,
Pow,
Unm,
Concat,
Len,
Eq,
Lt,
Le,
Call,
}Metamethods. All metamethods are supported except for __gc, which is implemented by the Drop trat.
Variants
ToStringIndexNewIndexAddSubMulDivModPowUnmConcatLenEqLtLeCall
Trait Implementations
impl Debug for MetaMethod[src]
impl Debug for MetaMethodfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for MetaMethod[src]
impl Copy for MetaMethodimpl Clone for MetaMethod[src]
impl Clone for MetaMethodfn clone(&self) -> MetaMethod[src]
fn clone(&self) -> MetaMethodReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Eq for MetaMethod[src]
impl Eq for MetaMethodimpl PartialEq for MetaMethod[src]
impl PartialEq for MetaMethodfn eq(&self, other: &MetaMethod) -> bool[src]
fn eq(&self, other: &MetaMethod) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Hash for MetaMethod[src]
impl Hash for MetaMethodAuto Trait Implementations
impl Send for MetaMethod
impl Send for MetaMethodimpl Sync for MetaMethod
impl Sync for MetaMethod