pub struct ComplexityBlock {
pub id: u64,
pub z: f32,
}Expand description
A block for complexity calculation
Fields§
§id: u64§z: f32Trait Implementations§
Source§impl Clone for ComplexityBlock
impl Clone for ComplexityBlock
Source§fn clone(&self) -> ComplexityBlock
fn clone(&self) -> ComplexityBlock
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 ComplexityBlock
impl RefUnwindSafe for ComplexityBlock
impl Send for ComplexityBlock
impl Sync for ComplexityBlock
impl Unpin for ComplexityBlock
impl UnsafeUnpin for ComplexityBlock
impl UnwindSafe for ComplexityBlock
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