pub enum Valid {}Expand description
The referent of a Ptr<T> is valid for T, upholding bit validity and any
library safety invariants.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Valid
impl RefUnwindSafe for Valid
impl Send for Valid
impl Sync for Valid
impl Unpin for Valid
impl UnsafeUnpin for Valid
impl UnwindSafe for Valid
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