Struct DeInteger

pub struct DeInteger<'i> { /* private fields */ }

Represents a TOML integer

Implementations

impl DeInteger<'_>

fn as_str(&self) -> &str

[from_str_radix][i64::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

fn radix(&self) -> u32

Numeric base of DeInteger::as_str

fn make_owned(&mut self)

Ensure no data is borrowed

Trait Implementations

impl Default for DeInteger<'_>

fn default() -> Self

impl Display for DeInteger<'_>

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

impl<'i> Clone for DeInteger<'i>

fn clone(&self) -> Self

impl<'i> Debug for DeInteger<'i>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

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> UnsafeUnpin for DeInteger<'i>

impl<'i> UnwindSafe for DeInteger<'i>

Blanket Implementations

impl<T> Any for DeInteger<'i> where T: 'static + ?Sized,

impl<T> Borrow<T> for DeInteger<'i> where T: ?Sized,

impl<T> BorrowMut<T> for DeInteger<'i> where T: ?Sized,

impl<T> CloneToUninit for DeInteger<'i> where T: Clone,

impl<T> From<T> for DeInteger<'i>

impl<T> ToOwned for DeInteger<'i> where T: Clone,

impl<T> ToString for DeInteger<'i> where T: Display + ?Sized,

impl<T, U> Into<U> for DeInteger<'i> where U: From<T>,

impl<T, U> TryFrom<U> for DeInteger<'i> where U: Into<T>,

impl<T, U> TryInto<U> for DeInteger<'i> where U: TryFrom<T>,