Lines Matching defs:fmt
3 use std::fmt;
54 impl fmt::Display for Error {
55 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
57 Error::Parse(ref x) => x.fmt(f),
58 Error::Translate(ref x) => x.fmt(f),
73 /// The error kind. It must impl fmt::Display.
104 impl<'e, E: fmt::Display> fmt::Display for Formatter<'e, E> {
105 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
171 fn from_formatter<'e, E: fmt::Display>(