Trait lexical_write_integer::WriteOptions
source · [−]pub trait WriteOptions: Default {
fn is_valid(&self) -> bool;
fn buffer_size<T, const FORMAT: u128>(&self) -> usize
where
T: FormattedSize;
}
Expand description
Shared trait for all writer options.
Required Methods
fn buffer_size<T, const FORMAT: u128>(&self) -> usize where
T: FormattedSize,
fn buffer_size<T, const FORMAT: u128>(&self) -> usize where
T: FormattedSize,
Get an upper bound on the buffer size.