pub struct LuaUserData {
pub data: Box<[u8]>,
pub uv: Vec<LuaValue>,
pub metatable: RefCell<Option<GcRef<LuaTable>>>,
pub host_value: RefCell<Option<Rc<dyn Any>>>,
}Fields§
§data: Box<[u8]>§uv: Vec<LuaValue>§metatable: RefCell<Option<GcRef<LuaTable>>>§host_value: RefCell<Option<Rc<dyn Any>>>Implementations§
Source§impl LuaUserData
impl LuaUserData
Trait Implementations§
Source§impl Debug for LuaUserData
impl Debug for LuaUserData
Auto Trait Implementations§
impl !Freeze for LuaUserData
impl !RefUnwindSafe for LuaUserData
impl !Send for LuaUserData
impl !Sync for LuaUserData
impl Unpin for LuaUserData
impl UnsafeUnpin for LuaUserData
impl !UnwindSafe for LuaUserData
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