pub struct Operands {
pub i: u64,
pub f: u64,
pub t: u64,
pub v: u32,
pub w: u32,
pub e: u32,
}Expand description
The UTS #35 operands of a non-negative decimal (Part 3 §5.1.1): the
formatter’s side of the contract of plans/02-catalog-format.md §4.1.
n is integral iff t == 0, and then equals i.
Fields§
§i: u64Integer digits.
f: u64Visible fraction digits, with trailing zeros.
t: u64Visible fraction digits, without trailing zeros.
v: u32The number of visible fraction digits, with trailing zeros.
w: u32The number of visible fraction digits, without trailing zeros.
e: u32The compact decimal exponent (c, e); 0 from MF2’s :number.
Implementations§
Trait Implementations§
impl Copy for Operands
impl Eq for Operands
impl StructuralPartialEq for Operands
Auto Trait Implementations§
impl Freeze for Operands
impl RefUnwindSafe for Operands
impl Send for Operands
impl Sync for Operands
impl Unpin for Operands
impl UnsafeUnpin for Operands
impl UnwindSafe for Operands
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