pub struct ThinSlicePtr<'a, T> { /* private fields */ }
Expand description
Conceptually equivalent to &'a [T]
but with length information cut out for performance reasons
Implementations§
Trait Implementations§
Source§impl<'a, T> Clone for ThinSlicePtr<'a, T>
impl<'a, T> Clone for ThinSlicePtr<'a, T>
Source§impl<'a, T> From<&'a [T]> for ThinSlicePtr<'a, T>
impl<'a, T> From<&'a [T]> for ThinSlicePtr<'a, T>
impl<'a, T> Copy for ThinSlicePtr<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for ThinSlicePtr<'a, T>
impl<'a, T> RefUnwindSafe for ThinSlicePtr<'a, T>where
T: RefUnwindSafe,
impl<'a, T> !Send for ThinSlicePtr<'a, T>
impl<'a, T> !Sync for ThinSlicePtr<'a, T>
impl<'a, T> Unpin for ThinSlicePtr<'a, T>
impl<'a, T> UnwindSafe for ThinSlicePtr<'a, 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)