Struct everscale_types::num::SplitDepth
source · #[repr(transparent)]pub struct SplitDepth(_);Expand description
Account split depth. Fixed-length 5-bit integer of range 1..=30
Implementations§
source§impl SplitDepth
impl SplitDepth
Trait Implementations§
source§impl Clone for SplitDepth
impl Clone for SplitDepth
source§fn clone(&self) -> SplitDepth
fn clone(&self) -> SplitDepth
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SplitDepth
impl Debug for SplitDepth
source§impl<'a, C: CellFamily> Load<'a, C> for SplitDepth
impl<'a, C: CellFamily> Load<'a, C> for SplitDepth
source§impl Ord for SplitDepth
impl Ord for SplitDepth
source§fn cmp(&self, other: &SplitDepth) -> Ordering
fn cmp(&self, other: &SplitDepth) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<SplitDepth> for SplitDepth
impl PartialEq<SplitDepth> for SplitDepth
source§fn eq(&self, other: &SplitDepth) -> bool
fn eq(&self, other: &SplitDepth) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<SplitDepth> for SplitDepth
impl PartialOrd<SplitDepth> for SplitDepth
source§fn partial_cmp(&self, other: &SplitDepth) -> Option<Ordering>
fn partial_cmp(&self, other: &SplitDepth) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl<C: CellFamily> Store<C> for SplitDepth
impl<C: CellFamily> Store<C> for SplitDepth
source§fn store_into(
&self,
builder: &mut CellBuilder<C>,
_: &mut dyn Finalizer<C>
) -> bool
fn store_into( &self, builder: &mut CellBuilder<C>, _: &mut dyn Finalizer<C> ) -> bool
Tries to store itself into the cell builder.