pub struct PinnedInline<T: NativeResource> { /* private fields */ }Expand description
Inline storage whose address stays fixed once pinned.
It does not implement ResourceStorage. Getting its pointer requires Pin.
Implementations§
Source§impl<T: NativeResource> PinnedInline<T>
impl<T: NativeResource> PinnedInline<T>
Auto Trait Implementations§
impl<T> !Freeze for PinnedInline<T>
impl<T> !RefUnwindSafe for PinnedInline<T>
impl<T> !Sync for PinnedInline<T>
impl<T> !Unpin for PinnedInline<T>
impl<T> !UnsafeUnpin for PinnedInline<T>
impl<T> Send for PinnedInline<T>where
T: Send,
impl<T> UnwindSafe for PinnedInline<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