pub struct TableInner {
pub flags: TableFlags,
pub lsizenode: u8,
pub alimit: u32,
pub array: Vec<LuaValue>,
pub node: Vec<TableNode>,
pub lastfree: Option<usize>,
}Expand description
Hybrid array + hash storage backing a LuaTable.
All mutating algorithms live as &mut TableInner methods so they
can be called from the outer &self API via RefCell::borrow_mut.
Fields§
§flags: TableFlags§lsizenode: u8§alimit: u32§array: Vec<LuaValue>§node: Vec<TableNode>§lastfree: Option<usize>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TableInner
impl !RefUnwindSafe for TableInner
impl !Send for TableInner
impl !Sync for TableInner
impl Unpin for TableInner
impl UnsafeUnpin for TableInner
impl !UnwindSafe for TableInner
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