Re-exported from alloc::fmt.
Formatting adapters for owning byte buffers.
Re-exports
Writer | Re-export of core::fmt::Writer. |
Format | Re-export of core::fmt::Format. |
Printable | Re-export of core::fmt::Printable. |
ReadingWriter! | Re-export of core::fmt::ReadingWriter!. |
CountingWriter | Re-export of core::fmt::CountingWriter. |
Types
Full | The sticky error a FixedWriter! reports once it has run out of room. |
FixedWriter! | A byte buffer that never grows past cap. |
Instances
Format[Buffer!, W] | Formats an owned buffer as its contents. |
Printable[Buffer!, W] | A buffer prints as its contents, and is freed. |
Writer[FixedWriter!] | A fixed writer as a writer: bytes past its capacity are dropped. |
Instance declarations
instance Format[Buffer!, W]source
forall W where Writer[W].
instance Format[Buffer!, W] { ... }
Formats an owned buffer as its contents. The buffer is handed back, not freed: an f-string formats a linear value only through {&name}.
instance Printable[Buffer!, W]source
forall W where Writer[W].
instance Printable[Buffer!, W] { ... }
A buffer prints as its contents, and is freed.
instance Writer[FixedWriter!]source
instance Writer[FixedWriter!] { ... }
A fixed writer as a writer: bytes past its capacity are dropped.