Struct projecture::Unpinned
source · [−]#[repr(transparent)]pub struct Unpinned<T>(_);Expand description
Transparent wrapper to indicate that a type should not be pin projected. It will not be p
Trait Implementations
sourceimpl<'a, T> FinalizeProjection for &Pin<&'a mut Unpinned<T>>
impl<'a, T> FinalizeProjection for &Pin<&'a mut Unpinned<T>>
impl<T> Unpin for Unpinned<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for Unpinned<T> where
T: RefUnwindSafe,
impl<T> Send for Unpinned<T> where
T: Send,
impl<T> Sync for Unpinned<T> where
T: Sync,
impl<T> UnwindSafe for Unpinned<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more