use crate::{_reexport, _tags};
_reexport! { rust: core, location: "text/fmt", tag: _tags!(fmt),
doc: "Constructs parameters for the other string-formatting macros.",
format_args
}
_reexport! { rust: core, location: "text/fmt", tag: _tags!(fmt),
doc: "Writes formatted data into a buffer.",
write
}
_reexport! { rust: core, location: "text/fmt", tag: _tags!(fmt),
doc: "Writes formatted data into a buffer, with a newline appended.",
writeln
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt num),
doc: "`b` formatting.",
Binary
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt debug),
doc: "`?` formatting. (Derivable)",
Debug
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt),
doc: "Format trait for an empty format, `{}`.",
Display
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt num),
doc: "`e` formatting.",
LowerExp
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt num),
doc: "`x` formatting.",
LowerHex
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt num),
doc: "`o` formatting.",
Octal
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt),
doc: "`p` formatting.",
Pointer
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt num),
doc: "`E` formatting.",
UpperExp
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt num),
doc: "`X` formatting.",
UpperHex
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt),
doc: "Writing or formatting into Unicode-accepting buffers or streams.",
@Write as FmtWrite
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt),
doc: "Possible alignments returned by `Formatter::align`.",
@Alignment as FmtAlignment
}
#[doc = crate::_tags!(fmt result)]
#[doc = crate::_doc_location!("text/fmt")]
pub type FmtResult<T> = Result<T, FmtError>;
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt),
doc: "Represents a safely precompiled version of a format string and its arguments.",
@Arguments as FmtArguments
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt debug),
doc: "A struct to help with [`Debug`] implementations.",
DebugList
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt debug),
doc: "A struct to help with [`Debug`] implementations.",
DebugMap
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt debug),
doc: "A struct to help with [`Debug`] implementations.",
DebugSet
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt debug),
doc: "A struct to help with [`Debug`] implementations.",
DebugStruct
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt debug),
doc: "A struct to help with [`Debug`] implementations.",
DebugTuple
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt error),
doc: "The error type which is returned from formatting a message into a stream.",
@Error as FmtError
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt),
doc: "Implements [`Debug`] and [`Display`] via the provided closure.",
@FromFn as FmtFromFn
}
_reexport! { rust: core::fmt, location: "text/fmt", tag: _tags!(fmt),
doc: "Configuration for formatting.",
Formatter
}