#[repr(C)]pub struct NonNullSlice<T> { /* private fields */ }Implementations§
Source§impl<T> NonNullSlice<T>
impl<T> NonNullSlice<T>
pub const unsafe fn from_raw_parts(ptr: NonNull<T>, len: usize) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for NonNullSlice<T>
impl<T> RefUnwindSafe for NonNullSlice<T>where
T: RefUnwindSafe,
impl<T> !Send for NonNullSlice<T>
impl<T> !Sync for NonNullSlice<T>
impl<T> Unpin for NonNullSlice<T>
impl<T> UnwindSafe for NonNullSlice<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