pub struct Slice<S> { /* private fields */ }
Expand description
A struct representing a slice of a range of values.
The lower and upper bounds should be meaningfully set on construction.
Implementations§
Trait Implementations§
impl<S: Copy> Copy for Slice<S>
Auto Trait Implementations§
impl<S> Freeze for Slice<S>where
S: Freeze,
impl<S> RefUnwindSafe for Slice<S>where
S: RefUnwindSafe,
impl<S> Send for Slice<S>where
S: Send,
impl<S> Sync for Slice<S>where
S: Sync,
impl<S> Unpin for Slice<S>where
S: Unpin,
impl<S> UnwindSafe for Slice<S>where
S: UnwindSafe,
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)