Enum field_offset::AllowPin
source · [−]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 RefUnwindSafe for AllowPin
impl Send for AllowPin
impl Sync for AllowPin
impl Unpin for AllowPin
impl UnwindSafe for AllowPin
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