pub struct DeInteger<'i> { /* private fields */ }
Available on crate feature
parse
only.Expand description
Represents a TOML integer
Implementations§
Source§impl DeInteger<'_>
impl DeInteger<'_>
Sourcepub fn as_str(&self) -> &str
pub fn as_str(&self) -> &str
from_str_radix
-compatible representation of an integer
Requires DeInteger::radix
to interpret
See [Display
][std::fmt::Display] for a representation that includes the radix
Sourcepub fn radix(&self) -> u32
pub fn radix(&self) -> u32
Numeric base of DeInteger::as_str
Trait Implementations§
Auto Trait Implementations§
impl<'i> Freeze for DeInteger<'i>
impl<'i> RefUnwindSafe for DeInteger<'i>
impl<'i> Send for DeInteger<'i>
impl<'i> Sync for DeInteger<'i>
impl<'i> Unpin for DeInteger<'i>
impl<'i> UnwindSafe for DeInteger<'i>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes