pub enum AnyLuaValue {
LuaString(String),
LuaAnyString(AnyLuaString),
LuaNumber(f64),
LuaBoolean(bool),
LuaArray(Vec<(AnyLuaValue, AnyLuaValue)>),
LuaNil,
LuaOther,
}Expand description
Any Lua value, mirroring hlua::AnyLuaValue field-for-field.
Variants§
LuaString(String)
LuaAnyString(AnyLuaString)
LuaNumber(f64)
LuaBoolean(bool)
LuaArray(Vec<(AnyLuaValue, AnyLuaValue)>)
LuaNil
LuaOther
Trait Implementations§
Source§impl Clone for AnyLuaValue
impl Clone for AnyLuaValue
Source§fn clone(&self) -> AnyLuaValue
fn clone(&self) -> AnyLuaValue
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 AnyLuaValue
impl Debug for AnyLuaValue
Source§impl PartialEq for AnyLuaValue
impl PartialEq for AnyLuaValue
Source§fn eq(&self, other: &AnyLuaValue) -> bool
fn eq(&self, other: &AnyLuaValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnyLuaValue
Auto Trait Implementations§
impl Freeze for AnyLuaValue
impl RefUnwindSafe for AnyLuaValue
impl Send for AnyLuaValue
impl Sync for AnyLuaValue
impl Unpin for AnyLuaValue
impl UnsafeUnpin for AnyLuaValue
impl UnwindSafe for AnyLuaValue
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