pub struct NumberDecimal {
pub extent: Extent,
pub integral: Extent,
pub fractional: Option<Extent>,
pub exponent: Option<Extent>,
pub type_suffix: Option<Extent>,
/* private fields */
}Fields§
§extent: Extent§integral: Extent§fractional: Option<Extent>§exponent: Option<Extent>§type_suffix: Option<Extent>Implementations§
Trait Implementations§
Source§impl Clone for NumberDecimal
impl Clone for NumberDecimal
Source§fn clone(&self) -> NumberDecimal
fn clone(&self) -> NumberDecimal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NumberDecimal
Source§impl Debug for NumberDecimal
impl Debug for NumberDecimal
impl Eq for NumberDecimal
Source§impl PartialEq for NumberDecimal
impl PartialEq for NumberDecimal
Source§fn eq(&self, other: &NumberDecimal) -> bool
fn eq(&self, other: &NumberDecimal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NumberDecimal
Auto Trait Implementations§
impl Freeze for NumberDecimal
impl RefUnwindSafe for NumberDecimal
impl Send for NumberDecimal
impl Sync for NumberDecimal
impl Unpin for NumberDecimal
impl UnsafeUnpin for NumberDecimal
impl UnwindSafe for NumberDecimal
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