Lines Matching refs:Formatter
89 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
121 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
308 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
646 pub struct Formatter<'a>(RawFormatter, PhantomData<&'a mut ()>);
648 impl Formatter<'_> {
649 /// Creates a new instance of [`Formatter`] with the given buffer.
654 /// for the lifetime of the returned [`Formatter`].
664 unsafe { Formatter::from_buffer(buffer.as_mut_ptr(), buffer.len()) }
668 impl Deref for Formatter<'_> {
676 impl fmt::Write for Formatter<'_> {
856 let mut f = unsafe { Formatter::from_buffer(buf.as_mut_ptr(), size) };
861 // `buf`'s capacity. The `Formatter` is created with `size` as its limit, and the `?`
915 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {