pub struct UdRef { /* private fields */ }Expand description
A full userdata: a host value with an optional metatable.
A reference into the collector’s heap: valid while what it names is reachable from
the script, from a running call’s arguments, or from a Root.
Trait Implementations§
impl Copy for UdRef
impl Eq for UdRef
impl StructuralPartialEq for UdRef
Auto Trait Implementations§
impl Forget for UdRef
impl Freeze for UdRef
impl Move for UdRef
impl RefUnwindSafe for UdRef
impl Send for UdRef
impl Sync for UdRef
impl Unpin for UdRef
impl UnsafeUnpin for UdRef
impl UnwindSafe for UdRef
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