Lines Matching defs:fmt
337 use std::fmt;
576 impl fmt::Display for Level {
577 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
578 fmt.pad(self.as_str())
608 /// This returns the same string as the `fmt::Display` implementation.
754 impl fmt::Display for LevelFilter {
755 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
756 fmt.pad(self.as_str())
789 /// This returns the same string as the `fmt::Display` implementation.
877 args: fmt::Arguments<'a>,
894 impl<'a> fmt::Debug for KeyValues<'a> {
895 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
897 self.0.visit(&mut visitor).map_err(|_| fmt::Error)?;
911 pub fn args(&self) -> &fmt::Arguments<'a> {
1070 pub fn args(&mut self, args: fmt::Arguments<'a>) -> &mut RecordBuilder<'a> {
1544 impl fmt::Display for SetLoggerError {
1545 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
1546 fmt.write_str(SET_LOGGER_ERROR)
1561 impl fmt::Display for ParseLevelError {
1562 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
1563 fmt.write_str(LEVEL_PARSE_ERROR)
1587 args: fmt::Arguments,
1614 args: fmt::Arguments,