Struct everscale_types::cell::VirtualCellWrapper
source · #[repr(transparent)]pub struct VirtualCellWrapper<T, const L: u8 = 0>(_);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>where
T: CellImpl + 'static + Send + Sync,
impl<T, const L: u8> CellImpl for VirtualCellWrapper<T, L>where T: CellImpl + 'static + Send + Sync,
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.
source§fn take_first_child(&mut self) -> Option<Cell>
fn take_first_child(&mut self) -> Option<Cell>
Consumes the first child during the deep drop.
source§fn replace_first_child(&mut self, parent: Cell) -> Result<Cell, Cell>
fn replace_first_child(&mut self, parent: Cell) -> Result<Cell, Cell>
Replaces the first child with the provided parent during the deep drop. Read more
source§fn take_next_child(&mut self) -> Option<Cell>
fn take_next_child(&mut self) -> Option<Cell>
Consumes the next child (except first) during the deep drop.
Auto Trait Implementations§
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