pub struct Storage<'a>(CowSlice<'a>);
Expand description
Backing store for the storage area.
This is just a wrapper for CowSlice
that converts out of bounds
accesses to appropriate errors.
Tuple Fields§
§0: CowSlice<'a>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Storage<'a>
impl<'a> RefUnwindSafe for Storage<'a>
impl<'a> Send for Storage<'a>
impl<'a> Sync for Storage<'a>
impl<'a> Unpin for Storage<'a>
impl<'a> !UnwindSafe for Storage<'a>
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