pub enum LuaValueKind {
Nil,
Boolean,
Integer,
Float,
String,
Table,
Function,
CFunction,
CClosure,
RClosure,
Userdata,
Thread,
}Variants§
Trait Implementations§
Source§impl Clone for LuaValueKind
impl Clone for LuaValueKind
Source§fn clone(&self) -> LuaValueKind
fn clone(&self) -> LuaValueKind
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 LuaValueKind
impl Debug for LuaValueKind
Source§impl Ord for LuaValueKind
impl Ord for LuaValueKind
Source§fn cmp(&self, other: &LuaValueKind) -> Ordering
fn cmp(&self, other: &LuaValueKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LuaValueKind
impl PartialEq for LuaValueKind
Source§fn eq(&self, other: &LuaValueKind) -> bool
fn eq(&self, other: &LuaValueKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LuaValueKind
impl PartialOrd for LuaValueKind
impl Copy for LuaValueKind
impl Eq for LuaValueKind
impl StructuralPartialEq for LuaValueKind
Auto Trait Implementations§
impl Freeze for LuaValueKind
impl RefUnwindSafe for LuaValueKind
impl Send for LuaValueKind
impl Sync for LuaValueKind
impl Unpin for LuaValueKind
impl UnsafeUnpin for LuaValueKind
impl UnwindSafe for LuaValueKind
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