pub struct userdata;Expand description
The type of arbitrary C data.
A userdata value carries a block of raw memory managed by the host program. Userdata values cannot be created or modified in Lua, only through the C API; they typically represent objects belonging to the host application or to C libraries.
Auto Trait Implementations§
impl Freeze for userdata
impl RefUnwindSafe for userdata
impl Send for userdata
impl Sync for userdata
impl Unpin for userdata
impl UnsafeUnpin for userdata
impl UnwindSafe for userdata
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