pub struct BlockComplexity {
pub block_id: u64,
pub branch_count: u32,
pub local_complexity: u32,
}Expand description
Complexity metrics for a single block
Fields§
§block_id: u64§branch_count: u32§local_complexity: u32Trait Implementations§
Source§impl Clone for BlockComplexity
impl Clone for BlockComplexity
Source§fn clone(&self) -> BlockComplexity
fn clone(&self) -> BlockComplexity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BlockComplexity
impl RefUnwindSafe for BlockComplexity
impl Send for BlockComplexity
impl Sync for BlockComplexity
impl Unpin for BlockComplexity
impl UnsafeUnpin for BlockComplexity
impl UnwindSafe for BlockComplexity
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