pub struct Pinned;Expand description
State markers carry the data they describe: Scoped carries the
scope, Sourced carries scope plus files. This is how we avoid
Option<PinScope> + runtime .expect panics: the type system
proves field presence at the call site.
Trait Implementations§
impl Copy for Pinned
impl Eq for Pinned
impl StructuralPartialEq for Pinned
Auto Trait Implementations§
impl Forget for Pinned
impl Freeze for Pinned
impl Move for Pinned
impl RefUnwindSafe for Pinned
impl Send for Pinned
impl Sync for Pinned
impl Unpin for Pinned
impl UnsafeUnpin for Pinned
impl UnwindSafe for Pinned
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