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
Auto Trait Implementations§
impl !RefUnwindSafe for CellRefsBuilder
impl Send for CellRefsBuilder
impl Sync for CellRefsBuilder
impl Unpin for CellRefsBuilder
impl !UnwindSafe for CellRefsBuilder
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