pub struct NumBuffer<T>where
T: NumBufferTrait,{ /* private fields */ }Expand description
Memory for formatting numbers using T::format_into().
This type consists of enough memory to hold the longest decimal string representation
a number of type T could have.
It is used only by calling format_into(); there is no other way to access its contents.
Its purpose is to allow formatting numbers without involving the dynamic dispatch of the
fmt system, which may be more efficient when fmt is not otherwise used.
ยงExamples
Implementationsยง
Trait Implementationsยง
Auto Trait Implementationsยง
impl<T> Freeze for NumBuffer<T>
impl<T> RefUnwindSafe for NumBuffer<T>
impl<T> Send for NumBuffer<T>
impl<T> Sync for NumBuffer<T>
impl<T> Unpin for NumBuffer<T>
impl<T> UnsafeUnpin for NumBuffer<T>
impl<T> UnwindSafe for NumBuffer<T>
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