Struct everscale_types::cell::CellRefsBuilder
source · #[repr(transparent)]pub struct CellRefsBuilder<C: CellFamily>(_);Expand description
Builder for constructing cell references array.
Can be used later for CellBuilder::set_references.
Implementations§
source§impl<C: CellFamily> CellRefsBuilder<C>
impl<C: CellFamily> CellRefsBuilder<C>
sourcepub fn store_reference(&mut self, cell: CellContainer<C>) -> bool
pub fn store_reference(&mut self, cell: CellContainer<C>) -> bool
Tries to store a child in the cell,
returning false if there is not enough remaining capacity.
sourcepub fn compute_level_mask(&self) -> LevelMask
pub fn compute_level_mask(&self) -> LevelMask
Computes children level mask as a combination of all level masks.