pub struct WithLen<T: ?Sized, A: Allocator> { /* private fields */ }Expand description
Len-only caching mode (single-thread oriented).
Trait Implementations§
Auto Trait Implementations§
impl<T, A> !Freeze for WithLen<T, A>
impl<T, A> !RefUnwindSafe for WithLen<T, A>
impl<T, A> Send for WithLen<T, A>where
T: ?Sized,
impl<T, A> !Sync for WithLen<T, A>
impl<T, A> Unpin for WithLen<T, A>where
T: ?Sized,
impl<T, A> UnwindSafe for WithLen<T, A>where
T: ?Sized,
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