Struct ezlua::marker::OwnedUserdata
source · pub struct OwnedUserdata<T: UserData>(pub T);Expand description
Represents an userdata whose ownedship was taken
Tuple Fields§
§0: TTrait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for OwnedUserdata<T>where
T: RefUnwindSafe,
impl<T> Send for OwnedUserdata<T>where
T: Send,
impl<T> Sync for OwnedUserdata<T>where
T: Sync,
impl<T> Unpin for OwnedUserdata<T>where
T: Unpin,
impl<T> UnwindSafe for OwnedUserdata<T>where
T: UnwindSafe,
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