Struct bevy_ptr::ThinSlicePtr
source · 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