pub enum AllowPin {}
Expand description
Type that can be used in the PinFlag
parameter of FieldOffset
to specify that
this projection is valid on Pin types.
See documentation of FieldOffset::new_from_offset_pinned
Auto Trait Implementations§
impl Freeze for AllowPin
impl RefUnwindSafe for AllowPin
impl Send for AllowPin
impl Sync for AllowPin
impl Unpin for AllowPin
impl UnwindSafe for AllowPin
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