pub struct ScopedUserData<'scope, T: UserDataTrait> { /* private fields */ }Expand description
Borrowed userdata handle tied to a lexical scope.
Implementations§
Trait Implementations§
Source§impl<'scope, T: Debug + UserDataTrait> Debug for ScopedUserData<'scope, T>
impl<'scope, T: Debug + UserDataTrait> Debug for ScopedUserData<'scope, T>
Source§impl<T: UserDataTrait> IntoLua for &ScopedUserData<'_, T>
impl<T: UserDataTrait> IntoLua for &ScopedUserData<'_, T>
Auto Trait Implementations§
impl<'scope, T> Freeze for ScopedUserData<'scope, T>
impl<'scope, T> !RefUnwindSafe for ScopedUserData<'scope, T>
impl<'scope, T> !Send for ScopedUserData<'scope, T>
impl<'scope, T> !Sync for ScopedUserData<'scope, T>
impl<'scope, T> Unpin for ScopedUserData<'scope, T>
impl<'scope, T> UnsafeUnpin for ScopedUserData<'scope, T>
impl<'scope, T> !UnwindSafe for ScopedUserData<'scope, T>
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