Struct NumBuffer
Source pub struct NumBuffer<T: NumBufferTrait> { }
🔬This is a nightly-only experimental API. (int_format_into #138215) Expand description
A buffer wrapper of which the internal size is based on the maximum
number of digits the associated integer can have.
🔬This is a nightly-only experimental API. (int_format_into #138215)
Initializes internal buffer.
🔬This is a nightly-only experimental API. (int_format_into #138215)
Returns the length of the internal buffer.
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.