#[non_exhaustive]pub enum Exactness {
Defined,
Measured,
}Expand description
Whether a factor is exact by definition or a measured value (ADR-002).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Defined
Exact by definition (SI definition, statute, treaty or convention).
Measured
A measured value, stored as the exact rational of the published decimal.
Implementations§
Trait Implementations§
impl Copy for Exactness
impl Eq for Exactness
impl StructuralPartialEq for Exactness
Auto Trait Implementations§
impl Forget for Exactness
impl Freeze for Exactness
impl RefUnwindSafe for Exactness
impl Send for Exactness
impl Sync for Exactness
impl Unpin for Exactness
impl UnsafeUnpin for Exactness
impl UnwindSafe for Exactness
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