Struct everscale_types::cell::CellRefsBuilder
source · #[repr(transparent)]pub struct CellRefsBuilder(_);Expand description
Builder for constructing cell references array.
Can be used later for CellBuilder::set_references.
Implementations§
source§impl CellRefsBuilder
impl CellRefsBuilder
sourcepub fn store_reference(&mut self, cell: Cell) -> Result<(), Error>
pub fn store_reference(&mut self, cell: Cell) -> Result<(), Error>
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.
Trait Implementations§
source§impl Default for CellRefsBuilder
impl Default for CellRefsBuilder
source§fn default() -> CellRefsBuilder
fn default() -> CellRefsBuilder
Returns the “default value” for a type. Read more