pub struct NonNull<T: ?Sized, D: Device> { /* private fields */ }Expand description
Same as std::ptr::NonNull<T> but backed by a Device::Ptr instead of a raw pointer
Implementations§
Trait Implementations§
impl<T: ?Sized, D: Device> Copy for NonNull<T, D>
Auto Trait Implementations§
impl<T, D> Freeze for NonNull<T, D>where
T: ?Sized,
impl<T, D> RefUnwindSafe for NonNull<T, D>
impl<T, D> !Send for NonNull<T, D>
impl<T, D> !Sync for NonNull<T, D>
impl<T, D> Unpin for NonNull<T, D>
impl<T, D> UnwindSafe for NonNull<T, D>
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