pub struct Unpacked {
pub sign: u16,
pub weight: i16,
pub dscale: u16,
pub digits: Vec<i16>,
}Expand description
A value taken apart. A special value has no digits, a weight of 0 and a display scale of 0.
Fields§
§sign: u16One of the sign codes above.
weight: i16The power of 10000 of the first digit.
dscale: u16The number of decimal digits that the text shows after the point.
digits: Vec<i16>The base-10000 digits, the most significant first, with no zero at either end.
Trait Implementations§
impl Eq for Unpacked
impl StructuralPartialEq for Unpacked
Auto Trait Implementations§
impl Freeze for Unpacked
impl RefUnwindSafe for Unpacked
impl Send for Unpacked
impl Sync for Unpacked
impl Unpin for Unpacked
impl UnsafeUnpin for Unpacked
impl UnwindSafe for Unpacked
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