pub struct TomlInteger<N> { /* private fields */ }
Expand description
Helper struct for formatting TOML integers.
This may be constructed by calling TomlIntegerFormat::format()
.
Implementations§
Source§impl<N> TomlInteger<N>where
Self: WriteTomlValue,
impl<N> TomlInteger<N>where
Self: WriteTomlValue,
Trait Implementations§
Source§impl<N: Clone> Clone for TomlInteger<N>
impl<N: Clone> Clone for TomlInteger<N>
Source§fn clone(&self) -> TomlInteger<N>
fn clone(&self) -> TomlInteger<N>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<N: Debug> Debug for TomlInteger<N>
impl<N: Debug> Debug for TomlInteger<N>
Source§impl WriteTomlValue for TomlInteger<i128>
impl WriteTomlValue for TomlInteger<i128>
Source§impl WriteTomlValue for TomlInteger<i16>
impl WriteTomlValue for TomlInteger<i16>
Source§impl WriteTomlValue for TomlInteger<i32>
impl WriteTomlValue for TomlInteger<i32>
Source§impl WriteTomlValue for TomlInteger<i64>
impl WriteTomlValue for TomlInteger<i64>
Source§impl WriteTomlValue for TomlInteger<i8>
impl WriteTomlValue for TomlInteger<i8>
Source§impl WriteTomlValue for TomlInteger<isize>
impl WriteTomlValue for TomlInteger<isize>
Source§impl WriteTomlValue for TomlInteger<u128>
impl WriteTomlValue for TomlInteger<u128>
Source§impl WriteTomlValue for TomlInteger<u16>
impl WriteTomlValue for TomlInteger<u16>
Source§impl WriteTomlValue for TomlInteger<u32>
impl WriteTomlValue for TomlInteger<u32>
Source§impl WriteTomlValue for TomlInteger<u64>
impl WriteTomlValue for TomlInteger<u64>
Source§impl WriteTomlValue for TomlInteger<u8>
impl WriteTomlValue for TomlInteger<u8>
Source§impl WriteTomlValue for TomlInteger<usize>
impl WriteTomlValue for TomlInteger<usize>
impl<N: Copy> Copy for TomlInteger<N>
Auto Trait Implementations§
impl<N> Freeze for TomlInteger<N>where
N: Freeze,
impl<N> RefUnwindSafe for TomlInteger<N>where
N: RefUnwindSafe,
impl<N> Send for TomlInteger<N>where
N: Send,
impl<N> Sync for TomlInteger<N>where
N: Sync,
impl<N> Unpin for TomlInteger<N>where
N: Unpin,
impl<N> UnwindSafe for TomlInteger<N>where
N: UnwindSafe,
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,
Source§impl<T> ToTomlValue for Twhere
T: WriteTomlValue + ?Sized,
impl<T> ToTomlValue for Twhere
T: WriteTomlValue + ?Sized,
Source§fn to_toml_value(&self) -> String
fn to_toml_value(&self) -> String
Available on crate feature
alloc
only.Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.