pub struct DeInteger<'i> { /* private fields */ }
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
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