Lines Matching defs:RawFormatter
740 pub struct RawFormatter {
747 impl RawFormatter {
748 /// Creates a new instance of [`RawFormatter`] with an empty buffer.
758 /// Creates a new instance of [`RawFormatter`] with the given buffer pointers.
763 /// (exclusive) must be valid for writes for the lifetime of the returned [`RawFormatter`].
773 /// Creates a new instance of [`RawFormatter`] with the given buffer.
778 /// for the lifetime of the returned [`RawFormatter`].
803 impl fmt::Write for RawFormatter {
832 pub struct Formatter<'a>(RawFormatter, PhantomData<&'a mut ()>);
843 Self(unsafe { RawFormatter::from_buffer(buf, len) }, PhantomData)
855 type Target = RawFormatter;
1034 let mut f = RawFormatter::new();