[−][src]Enum actix_lua::dev::rlua::prelude::LuaMetaMethod
Kinds of metamethods that can be overridden.
Currently, this mechanism does not allow overriding the __gc metamethod, since there is
generally no need to do so: UserData implementors can instead just implement Drop.
Variants
AddThe + operator.
SubThe - operator.
MulThe * operator.
DivThe / operator.
ModThe % operator.
PowThe ^ operator.
UnmThe unary minus (-) operator.
IDivThe floor division (//) operator.
BAndThe bitwise AND (&) operator.
BOrThe bitwise OR (|) operator.
BXorThe bitwise XOR (binary ~) operator.
BNotThe bitwise NOT (unary ~) operator.
ShlThe bitwise left shift (<<) operator.
ShrThe bitwise right shift (>>) operator.
ConcatThe string concatenation operator ...
LenThe length operator #.
EqThe == operator.
LtThe < operator.
LeThe <= operator.
IndexIndex access obj[key].
NewIndexIndex write access obj[key] = value.
CallThe call "operator" obj(arg1, args2, ...).
ToStringThe __tostring metamethod.
This is not an operator, but will be called by methods such as tostring and print.
Trait Implementations
impl Hash for MetaMethod[src]
impl Hash for MetaMethodfn hash<__H>(&self, state: &mut __H) where | [src] |
fn hash_slice<H>(data: &[Self], state: &mut H) where | 1.3.0 [src] |
Feeds a slice of this type into the given [Hasher]. Read more
impl Copy for MetaMethod[src]
impl Copy for MetaMethodimpl Debug for MetaMethod[src]
impl Debug for MetaMethodimpl Clone for MetaMethod[src]
impl Clone for MetaMethodfn clone(&self) -> MetaMethod | [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<MetaMethod> for MetaMethod[src]
impl PartialEq<MetaMethod> for MetaMethodAuto Trait Implementations
impl Send for MetaMethod
impl Send for MetaMethodimpl Sync for MetaMethod
impl Sync for MetaMethodBlanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId | [src] |
impl<T> Erased for T
impl<T> Erased for T