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

Trait Implementations

impl Debug for MetaMethod
[src]

Formats the value using the given formatter. Read more

impl Copy for MetaMethod
[src]

impl Clone for MetaMethod
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for MetaMethod
[src]

impl PartialEq for MetaMethod
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for MetaMethod
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for MetaMethod

impl Sync for MetaMethod