pub enum AnyHashableLuaValue {
LuaString(String),
LuaAnyString(AnyLuaString),
LuaNumber(i32),
LuaBoolean(bool),
LuaArray(Vec<(AnyHashableLuaValue, AnyHashableLuaValue)>),
LuaNil,
LuaOther,
}Expand description
The hashable projection used for Lua table keys, mirroring
hlua::AnyHashableLuaValue. Numbers narrow to i32 exactly as upstream.
Variants§
LuaString(String)
LuaAnyString(AnyLuaString)
LuaNumber(i32)
LuaBoolean(bool)
LuaArray(Vec<(AnyHashableLuaValue, AnyHashableLuaValue)>)
LuaNil
LuaOther
Trait Implementations§
Source§impl Clone for AnyHashableLuaValue
impl Clone for AnyHashableLuaValue
Source§impl Debug for AnyHashableLuaValue
impl Debug for AnyHashableLuaValue
impl Eq for AnyHashableLuaValue
Source§impl Hash for AnyHashableLuaValue
impl Hash for AnyHashableLuaValue
Source§impl Ord for AnyHashableLuaValue
impl Ord for AnyHashableLuaValue
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AnyHashableLuaValue
impl PartialEq for AnyHashableLuaValue
Source§impl PartialOrd for AnyHashableLuaValue
impl PartialOrd for AnyHashableLuaValue
impl StructuralPartialEq for AnyHashableLuaValue
Auto Trait Implementations§
impl Forget for AnyHashableLuaValue
impl Freeze for AnyHashableLuaValue
impl Move for AnyHashableLuaValue
impl RefUnwindSafe for AnyHashableLuaValue
impl Send for AnyHashableLuaValue
impl Sync for AnyHashableLuaValue
impl Unpin for AnyHashableLuaValue
impl UnsafeUnpin for AnyHashableLuaValue
impl UnwindSafe for AnyHashableLuaValue
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