Struct core::num::dec2flt::parse::Decimal
[−]
[src]
pub struct Decimal<'a> { pub integral: &'a [u8], pub fractional: &'a [u8], pub exp: i64, }
Unstable (
dec2flt
): internal routines only exposed for testing
The interesting parts of a decimal string.
Fields
integral | Unstable ( dec2flt ): internal routines only exposed for testing |
fractional | Unstable ( dec2flt ): internal routines only exposed for testing |
exp | Unstable ( dec2flt ): internal routines only exposed for testing The decimal exponent, guaranteed to have fewer than 18 decimal digits. |
Methods
impl<'a> Decimal<'a>
fn new(integral: &'a [u8], fractional: &'a [u8], exp: i64) -> Decimal<'a>
Unstable (
dec2flt
): internal routines only exposed for testing