pub struct LayeredStorage<'a, 'b, T: Storage> {
pub top: &'a T,
pub down: &'b T,
}Expand description
Layered storage for evaluating expressions with multiple storages without having to duplicate the storages
Fields§
§top: &'a T§down: &'b TTrait Implementations§
Source§impl Storage for LayeredStorage<'_, '_, ObjectBody>
impl Storage for LayeredStorage<'_, '_, ObjectBody>
Auto Trait Implementations§
impl<'a, 'b, T> Freeze for LayeredStorage<'a, 'b, T>
impl<'a, 'b, T> RefUnwindSafe for LayeredStorage<'a, 'b, T>where
T: RefUnwindSafe,
impl<'a, 'b, T> Send for LayeredStorage<'a, 'b, T>where
T: Sync,
impl<'a, 'b, T> Sync for LayeredStorage<'a, 'b, T>where
T: Sync,
impl<'a, 'b, T> Unpin for LayeredStorage<'a, 'b, T>
impl<'a, 'b, T> UnwindSafe for LayeredStorage<'a, 'b, T>where
T: RefUnwindSafe,
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