struct Dec {
digits: Vec<u8>,
pt: i32,
}Expand description
絶対値の 10 進表記。value = 0.d1d2d3… × 10^pt(digits の先頭と末尾に 0 は無い。空なら 0)。
Fields§
§digits: Vec<u8>§pt: i32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dec
impl RefUnwindSafe for Dec
impl Send for Dec
impl Sync for Dec
impl Unpin for Dec
impl UnsafeUnpin for Dec
impl UnwindSafe for Dec
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