pub struct VirtualCellWrapper<T, const L: u8 = 0>(/* private fields */);Expand description
A wrapper type which implements a virtualized cell interface.
Implementations§
Trait Implementations§
Source§impl<T, const L: u8> CellImpl for VirtualCellWrapper<T, L>
impl<T, const L: u8> CellImpl for VirtualCellWrapper<T, L>
Source§fn descriptor(&self) -> CellDescriptor
fn descriptor(&self) -> CellDescriptor
Returns cell descriptor. Read more
Source§fn virtualize(&self) -> &DynCell
fn virtualize(&self) -> &DynCell
Returns this cell as a virtualized cell, so that all hashes
and depths will have an offset.
Auto Trait Implementations§
impl<T, const L: u8> Freeze for VirtualCellWrapper<T, L>where
T: Freeze,
impl<T, const L: u8> RefUnwindSafe for VirtualCellWrapper<T, L>where
T: RefUnwindSafe,
impl<T, const L: u8> Send for VirtualCellWrapper<T, L>where
T: Send,
impl<T, const L: u8> Sync for VirtualCellWrapper<T, L>where
T: Sync,
impl<T, const L: u8> Unpin for VirtualCellWrapper<T, L>where
T: Unpin,
impl<T, const L: u8> UnwindSafe for VirtualCellWrapper<T, L>where
T: 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