pub enum Figure {
Ratio {
numerator: u64,
denominator: u64,
},
Value {
value: f64,
n: u64,
},
Unknown {
reason: String,
},
}Expand description
One figure. A ratio carries its numerator and denominator; a value is a
spec 004 measurement with its count. Unknown carries the reason a
figure cannot be given (for example a zero denominator, a slice below its
minimum, or exposed final-test cases); it is never replaced by a number, and
scope_claim refuses to compose a claim from it.
Variants§
Trait Implementations§
impl StructuralPartialEq for Figure
Auto Trait Implementations§
impl Freeze for Figure
impl RefUnwindSafe for Figure
impl Send for Figure
impl Sync for Figure
impl Unpin for Figure
impl UnsafeUnpin for Figure
impl UnwindSafe for Figure
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