Enum const_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§
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