pub enum LuaValue {
Map(BTreeMap<LuaMapKey, LuaValue>),
Array(Vec<LuaValue>),
String(String),
Number(f64),
Boolean(bool),
Null,
}Expand description
A tagged union representing all possible values in Lua.
Variants§
Map(BTreeMap<LuaMapKey, LuaValue>)
Array(Vec<LuaValue>)
String(String)
Number(f64)
Boolean(bool)
Null
Trait Implementations§
Source§impl Ord for LuaValue
impl Ord for LuaValue
Source§impl PartialOrd for LuaValue
impl PartialOrd for LuaValue
impl Eq for LuaValue
Auto Trait Implementations§
impl Freeze for LuaValue
impl RefUnwindSafe for LuaValue
impl Send for LuaValue
impl Sync for LuaValue
impl Unpin for LuaValue
impl UnsafeUnpin for LuaValue
impl UnwindSafe for LuaValue
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