pub struct NonNull;Expand description
Marker indicating an expression cannot be NULL.
Trait Implementations§
impl Copy for NonNull
impl Eq for NonNull
impl Nullability for NonNull
impl StructuralPartialEq for NonNull
Auto Trait Implementations§
impl Freeze for NonNull
impl RefUnwindSafe for NonNull
impl Send for NonNull
impl Sync for NonNull
impl Unpin for NonNull
impl UnwindSafe for NonNull
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