pub struct CellRefsBuilder(/* private fields */);
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 Freeze for CellRefsBuilder
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