pub struct LuaTable {
pub map: HashMap<String, LuaValue>,
pub meta: HashMap<String, LuaValue>,
}Fields§
§map: HashMap<String, LuaValue>§meta: HashMap<String, LuaValue>Implementations§
source§impl LuaTable
impl LuaTable
pub fn with_capacity(capacity: usize) -> Self
pub fn new() -> Self
pub fn table_index_get(&self, idx: LuaValue) -> Result<LuaValue, RuntimeError>
pub fn table_index_set( &mut self, idx: LuaValue, value: LuaValue, ) -> Result<(), RuntimeError>
pub fn table_index_init( &mut self, idx: LuaValue, value: LuaValue, ) -> Result<(), RuntimeError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LuaTable
impl !RefUnwindSafe for LuaTable
impl !Send for LuaTable
impl !Sync for LuaTable
impl Unpin for LuaTable
impl !UnwindSafe for LuaTable
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)