Struct aleph_bft::NodeCount [−][src]
pub struct NodeCount(pub usize);
Expand description
Node count. Right now it doubles as node weight in many places in the code, in the future we might need a new type for that.
Tuple Fields
0: usizeImplementations
Trait Implementations
Performs the += operation. Read more
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Performs the -= operation. Read more
Auto Trait Implementations
impl RefUnwindSafe for NodeCount
impl UnwindSafe for NodeCount
Blanket Implementations
Mutably borrows from an owned value. Read more