pub struct Span<K: Backing = Plain, M = Owned, S = Uninit> { /* private fields */ }Expand description
Owns one live slot edge and its initialized prefix. The backing and prefix cannot be replaced independently through this capability.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<K = Plain, M = Owned, S = Uninit> !RefUnwindSafe for Span<K, M, S>
impl<K = Plain, M = Owned, S = Uninit> !Send for Span<K, M, S>
impl<K = Plain, M = Owned, S = Uninit> !Sync for Span<K, M, S>
impl<K = Plain, M = Owned, S = Uninit> !UnwindSafe for Span<K, M, S>
impl<K, M, S> Forget for Span<K, M, S>
impl<K, M, S> Freeze for Span<K, M, S>
impl<K, M, S> Move for Span<K, M, S>
impl<K, M, S> Unpin for Span<K, M, S>
impl<K, M, S> UnsafeUnpin for Span<K, M, S>
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