pub struct LuaTable { /* private fields */ }Expand description
Handle to a Value::Table pinned in the host root pool.
Implementations§
Source§impl LuaTable
impl LuaTable
Sourcepub fn ticket(self) -> HostRootTicket
pub fn ticket(self) -> HostRootTicket
The underlying HostRootTicket. Facade-author use only.
Sourcepub fn set<K: IntoValue, V: IntoValue>(
self,
lua: &mut Lua,
k: K,
v: V,
) -> Result<(), LuaError>
pub fn set<K: IntoValue, V: IntoValue>( self, lua: &mut Lua, k: K, v: V, ) -> Result<(), LuaError>
Set t[k] = v. Both k and v may be any IntoValue.
Trait Implementations§
impl Copy for LuaTable
Source§impl PinnedHandle for LuaTable
impl PinnedHandle for LuaTable
Source§fn ticket(&self) -> HostRootTicket
fn ticket(&self) -> HostRootTicket
The ticket this handle wraps.
Auto Trait Implementations§
impl Freeze for LuaTable
impl RefUnwindSafe for LuaTable
impl Send for LuaTable
impl Sync for LuaTable
impl Unpin for LuaTable
impl UnsafeUnpin 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