pub struct Slice<'a, D, G> { /* private fields */ }Expand description
A borrowed resident source using the same original-range contract.
Implementations§
Trait Implementations§
Source§impl<D, G> RangeSource for Slice<'_, D, G>
impl<D, G> RangeSource for Slice<'_, D, G>
Source§type Generation = G
type Generation = G
Constant-time comparable immutable generation.
Auto Trait Implementations§
impl<'a, D, G> Forget for Slice<'a, D, G>
impl<'a, D, G> Freeze for Slice<'a, D, G>
impl<'a, D, G> RefUnwindSafe for Slice<'a, D, G>where
Stamp<D, G>: RefUnwindSafe,
impl<'a, D, G> Send for Slice<'a, D, G>
impl<'a, D, G> Sync for Slice<'a, D, G>
impl<'a, D, G> Unpin for Slice<'a, D, G>
impl<'a, D, G> UnsafeUnpin for Slice<'a, D, G>where
Stamp<D, G>: UnsafeUnpin,
impl<'a, D, G> UnwindSafe for Slice<'a, D, G>where
Stamp<D, G>: 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