[−][src]Enum flt2dec2flt::PreFormatted
Represents a pre-formatted floating point number.
Returned by flt2dec2flt::f{32,64}::format_{shortest,exact_fixed,exact_exp}
.
Variants
The number is NaN.
The is infinity. The boolean specifies the sign.
The number is (after a possible rounding made by the representation) absolute zero. The boolean specifies the sign.
The number is finite. The boolean specifies the sign, the slice specifies the mantissa digits and the integer specifies the exponent.
The represented value is sign 0.mant * 10 ^ exp
Trait Implementations
impl<'a> Clone for PreFormatted<'a>
[src]
fn clone(&self) -> PreFormatted<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Copy for PreFormatted<'a>
[src]
impl<'a> Debug for PreFormatted<'a>
[src]
impl<'a> Eq for PreFormatted<'a>
[src]
impl<'a> PartialEq<PreFormatted<'a>> for PreFormatted<'a>
[src]
fn eq(&self, other: &PreFormatted<'a>) -> bool
[src]
fn ne(&self, other: &PreFormatted<'a>) -> bool
[src]
impl<'a> StructuralEq for PreFormatted<'a>
[src]
impl<'a> StructuralPartialEq for PreFormatted<'a>
[src]
Auto Trait Implementations
impl<'a> Send for PreFormatted<'a>
impl<'a> Sync for PreFormatted<'a>
impl<'a> Unpin for PreFormatted<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,