#[non_exhaustive]pub struct ScaleProofResidual { /* private fields */ }Expand description
One proof claim’s maximum residual and the comparisons behind it.
A maximum of 0.0 can mean either an exact measurement or that no
comparison was made. Self::evaluated distinguishes those cases.
The two measurements are intentionally one read-only value so a
consumer cannot pair one claim’s maximum with another claim’s count.
Implementations§
Trait Implementations§
Source§impl Clone for ScaleProofResidual
impl Clone for ScaleProofResidual
Source§fn clone(&self) -> ScaleProofResidual
fn clone(&self) -> ScaleProofResidual
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 moreimpl Copy for ScaleProofResidual
Source§impl Debug for ScaleProofResidual
impl Debug for ScaleProofResidual
Source§impl PartialEq for ScaleProofResidual
impl PartialEq for ScaleProofResidual
impl StructuralPartialEq for ScaleProofResidual
Auto Trait Implementations§
impl Freeze for ScaleProofResidual
impl RefUnwindSafe for ScaleProofResidual
impl Send for ScaleProofResidual
impl Sync for ScaleProofResidual
impl Unpin for ScaleProofResidual
impl UnsafeUnpin for ScaleProofResidual
impl UnwindSafe for ScaleProofResidual
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