Struct smallvec::ConstNonNull
source · #[repr(transparent)]pub(crate) struct ConstNonNull<T>(pub(crate) NonNull<T>);
Tuple Fields§
§0: NonNull<T>
Implementations§
Trait Implementations§
source§impl<T> Clone for ConstNonNull<T>
impl<T> Clone for ConstNonNull<T>
impl<T> Copy for ConstNonNull<T>
Auto Trait Implementations§
impl<T> Freeze for ConstNonNull<T>
impl<T> RefUnwindSafe for ConstNonNull<T>where
T: RefUnwindSafe,
impl<T> !Send for ConstNonNull<T>
impl<T> !Sync for ConstNonNull<T>
impl<T> Unpin for ConstNonNull<T>
impl<T> UnwindSafe for ConstNonNull<T>where
T: RefUnwindSafe,
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