pub_just

Trait Display

1.0.0 ยท Source
pub trait Display {
    // Required method
    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>;
}
Expand description

Format trait for an empty format, {}.

Implementing this trait for a type will automatically implement the ToString trait for the type, allowing the usage of the .to_string() method. Prefer implementing the Display trait for a type, rather than ToString.

Display is similar to Debug, but Display is for user-facing output, and so cannot be derived.

For more information on formatters, see the module-level documentation.

ยงInternationalization

Because a type can only have one Display implementation, it is often preferable to only implement Display when there is a single most โ€œobviousโ€ way that values can be formatted as text. This could mean formatting according to the โ€œinvariantโ€ culture and โ€œundefinedโ€ locale, or it could mean that the type display is designed for a specific culture/locale, such as developer logs.

If not all values have a justifiably canonical textual format or if you want to support alternative formats not covered by the standard set of possible formatting traits, the most flexible approach is display adapters: methods like str::escape_default or Path::display which create a wrapper implementing Display to output the specific display format.

ยงExamples

Implementing Display on a type:

use std::fmt;

struct Point {
    x: i32,
    y: i32,
}

impl fmt::Display for Point {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        write!(f, "({}, {})", self.x, self.y)
    }
}

let origin = Point { x: 0, y: 0 };

assert_eq!(format!("The origin is: {origin}"), "The origin is: (0, 0)");

Required Methodsยง

1.0.0 ยท Source

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.

ยงErrors

This function should return Err if, and only if, the provided Formatter returns Err. String formatting is considered an infallible operation; this function only returns a Result because writing to the underlying stream might fail and it must provide a way to propagate the fact that an error has occurred back up the stack.

ยงExamples
use std::fmt;

struct Position {
    longitude: f32,
    latitude: f32,
}

impl fmt::Display for Position {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        write!(f, "({}, {})", self.longitude, self.latitude)
    }
}

assert_eq!(
    "(1.987, 2.983)",
    format!("{}", Position { longitude: 1.987, latitude: 2.983, }),
);

Implementorsยง

Sourceยง

impl Display for ConditionalOperator

Sourceยง

impl Display for ConfigError

1.0.0 ยท Sourceยง

impl Display for VarError

Sourceยง

impl Display for AsciiChar

1.34.0 ยท Sourceยง

impl Display for Infallible

1.7.0 ยท Sourceยง

impl Display for IpAddr

1.0.0 ยท Sourceยง

impl Display for SocketAddr

1.15.0 ยท Sourceยง

impl Display for RecvTimeoutError

1.0.0 ยท Sourceยง

impl Display for TryRecvError

Sourceยง

impl Display for RoundingError

Sourceยง

impl Display for Weekday

Sourceยง

impl Display for ContextKind

Sourceยง

impl Display for ContextValue

Sourceยง

impl Display for clap_builder::error::kind::ErrorKind

Sourceยง

impl Display for MatchesError

Sourceยง

impl Display for ColorChoice

Sourceยง

impl Display for Shell

Sourceยง

impl Display for ctrlc::error::Error

Sourceยง

impl Display for dotenvy::errors::Error

Sourceยง

impl Display for GetTimezoneError

Sourceยง

impl Display for nix::errno::consts::Errno

Sourceยง

impl Display for Signal

Sourceยง

impl Display for BernoulliError

Sourceยง

impl Display for WeightedError

Sourceยง

impl Display for StartError

Sourceยง

impl Display for regex_syntax::ast::Ast

Print a display representation of this Ast.

This does not preserve any of the original whitespace formatting that may have originally been present in the concrete syntax from which this Ast was generated.

This implementation uses constant stack space and heap space proportional to the size of the Ast.

Sourceยง

impl Display for regex_syntax::ast::ErrorKind

Sourceยง

impl Display for regex_syntax::error::Error

Sourceยง

impl Display for regex_syntax::hir::ErrorKind

Sourceยง

impl Display for regex::error::Error

Sourceยง

impl Display for Value

Sourceยง

impl Display for ChangeTag

Sourceยง

impl Display for StrSimError

Sourceยง

impl Display for strum::ParseError

Sourceยง

impl Display for Variant

1.60.0 ยท Sourceยง

impl Display for pub_just::io::ErrorKind

Sourceยง

impl Display for Keyword

Sourceยง

impl Display for OutputError

Sourceยง

impl Display for SearchError

Sourceยง

impl Display for Thunk<'_>

Sourceยง

impl Display for TokenKind

Sourceยง

impl Display for UnstableFeature

1.0.0 ยท Sourceยง

impl Display for bool

1.0.0 ยท Sourceยง

impl Display for char

1.0.0 ยท Sourceยง

impl Display for f32

1.0.0 ยท Sourceยง

impl Display for f64

1.0.0 ยท Sourceยง

impl Display for i8

1.0.0 ยท Sourceยง

impl Display for i16

1.0.0 ยท Sourceยง

impl Display for i32

1.0.0 ยท Sourceยง

impl Display for i64

1.0.0 ยท Sourceยง

impl Display for i128

1.0.0 ยท Sourceยง

impl Display for isize

Sourceยง

impl Display for !

1.0.0 ยท Sourceยง

impl Display for str

1.0.0 ยท Sourceยง

impl Display for u8

1.0.0 ยท Sourceยง

impl Display for u16

1.0.0 ยท Sourceยง

impl Display for u32

1.0.0 ยท Sourceยง

impl Display for u64

1.0.0 ยท Sourceยง

impl Display for u128

1.0.0 ยท Sourceยง

impl Display for usize

Sourceยง

impl Display for CompileError<'_>

1.0.0 ยท Sourceยง

impl Display for JoinPathsError

1.0.0 ยท Sourceยง

impl Display for Arguments<'_>

1.0.0 ยท Sourceยง

impl Display for pub_just::fmt::Error

Sourceยง

impl Display for UnorderedKeyError

1.57.0 ยท Sourceยง

impl Display for TryReserveError

1.58.0 ยท Sourceยง

impl Display for FromVecWithNulError

1.7.0 ยท Sourceยง

impl Display for IntoStringError

1.0.0 ยท Sourceยง

impl Display for NulError

1.0.0 ยท Sourceยง

impl Display for FromUtf8Error

1.0.0 ยท Sourceยง

impl Display for FromUtf16Error

1.0.0 ยท Sourceยง

impl Display for String

1.28.0 ยท Sourceยง

impl Display for LayoutError

Sourceยง

impl Display for AllocError

1.35.0 ยท Sourceยง

impl Display for TryFromSliceError

1.39.0 ยท Sourceยง

impl Display for core::ascii::EscapeDefault

1.13.0 ยท Sourceยง

impl Display for BorrowError

1.13.0 ยท Sourceยง

impl Display for BorrowMutError

1.34.0 ยท Sourceยง

impl Display for CharTryFromError

1.20.0 ยท Sourceยง

impl Display for ParseCharError

1.9.0 ยท Sourceยง

impl Display for DecodeUtf16Error

1.20.0 ยท Sourceยง

impl Display for core::char::EscapeDebug

1.16.0 ยท Sourceยง

impl Display for core::char::EscapeDefault

1.16.0 ยท Sourceยง

impl Display for core::char::EscapeUnicode

1.16.0 ยท Sourceยง

impl Display for ToLowercase

1.16.0 ยท Sourceยง

impl Display for ToUppercase

1.59.0 ยท Sourceยง

impl Display for TryFromCharError

1.69.0 ยท Sourceยง

impl Display for FromBytesUntilNulError

1.17.0 ยท Sourceยง

impl Display for FromBytesWithNulError

1.0.0 ยท Sourceยง

impl Display for Ipv4Addr

1.0.0 ยท Sourceยง

impl Display for Ipv6Addr

Writes an Ipv6Addr, conforming to the canonical style described by RFC 5952.

1.4.0 ยท Sourceยง

impl Display for AddrParseError

1.0.0 ยท Sourceยง

impl Display for SocketAddrV4

1.0.0 ยท Sourceยง

impl Display for SocketAddrV6

1.0.0 ยท Sourceยง

impl Display for core::num::dec2flt::ParseFloatError

1.0.0 ยท Sourceยง

impl Display for ParseIntError

1.34.0 ยท Sourceยง

impl Display for TryFromIntError

1.26.0 ยท Sourceยง

impl Display for core::panic::location::Location<'_>

1.26.0 ยท Sourceยง

impl Display for PanicInfo<'_>

1.81.0 ยท Sourceยง

impl Display for PanicMessage<'_>

1.66.0 ยท Sourceยง

impl Display for TryFromFloatSecsError

1.65.0 ยท Sourceยง

impl Display for Backtrace

Sourceยง

impl Display for std::ffi::os_str::Display<'_>

1.26.0 ยท Sourceยง

impl Display for PanicHookInfo<'_>

1.0.0 ยท Sourceยง

impl Display for RecvError

1.26.0 ยท Sourceยง

impl Display for AccessError

1.8.0 ยท Sourceยง

impl Display for SystemTimeError

Sourceยง

impl Display for aho_corasick::util::error::BuildError

Sourceยง

impl Display for aho_corasick::util::error::MatchError

Sourceยง

impl Display for aho_corasick::util::primitives::PatternIDError

Sourceยง

impl Display for aho_corasick::util::primitives::StateIDError

Sourceยง

impl Display for Infix

Sourceยง

impl Display for Prefix

Sourceยง

impl Display for Suffix

Sourceยง

impl Display for Reset

Sourceยง

impl Display for Style

Sourceยง

impl Display for bitflags::parser::ParseError

Sourceยง

impl Display for Hash

Sourceยง

impl Display for HexError

Sourceยง

impl Display for block_buffer::Error

Sourceยง

impl Display for FromPathBufError

Sourceยง

impl Display for FromPathError

Sourceยง

impl Display for Utf8PathBuf

Sourceยง

impl Display for chrono::format::ParseError

Sourceยง

impl Display for ParseMonthError

Sourceยง

impl Display for NaiveDate

The Display output of the naive date d is the same as d.format("%Y-%m-%d").

The string printed can be readily parsed via the parse method on str.

ยงExample

use chrono::NaiveDate;

assert_eq!(format!("{}", NaiveDate::from_ymd_opt(2015, 9, 5).unwrap()), "2015-09-05");
assert_eq!(format!("{}", NaiveDate::from_ymd_opt(0, 1, 1).unwrap()), "0000-01-01");
assert_eq!(format!("{}", NaiveDate::from_ymd_opt(9999, 12, 31).unwrap()), "9999-12-31");

ISO 8601 requires an explicit sign for years before 1 BCE or after 9999 CE.

assert_eq!(format!("{}", NaiveDate::from_ymd_opt(-1, 1, 1).unwrap()), "-0001-01-01");
assert_eq!(format!("{}", NaiveDate::from_ymd_opt(10000, 12, 31).unwrap()), "+10000-12-31");
Sourceยง

impl Display for NaiveDateTime

The Display output of the naive date and time dt is the same as dt.format("%Y-%m-%d %H:%M:%S%.f").

It should be noted that, for leap seconds not on the minute boundary, it may print a representation not distinguishable from non-leap seconds. This doesnโ€™t matter in practice, since such leap seconds never happened. (By the time of the first leap second on 1972-06-30, every time zone offset around the world has standardized to the 5-minute alignment.)

ยงExample

use chrono::NaiveDate;

let dt = NaiveDate::from_ymd_opt(2016, 11, 15).unwrap().and_hms_opt(7, 39, 24).unwrap();
assert_eq!(format!("{}", dt), "2016-11-15 07:39:24");

Leap seconds may also be used.

let dt =
    NaiveDate::from_ymd_opt(2015, 6, 30).unwrap().and_hms_milli_opt(23, 59, 59, 1_500).unwrap();
assert_eq!(format!("{}", dt), "2015-06-30 23:59:60.500");
Sourceยง

impl Display for NaiveTime

The Display output of the naive time t is the same as t.format("%H:%M:%S%.f").

The string printed can be readily parsed via the parse method on str.

It should be noted that, for leap seconds not on the minute boundary, it may print a representation not distinguishable from non-leap seconds. This doesnโ€™t matter in practice, since such leap seconds never happened. (By the time of the first leap second on 1972-06-30, every time zone offset around the world has standardized to the 5-minute alignment.)

ยงExample

use chrono::NaiveTime;

assert_eq!(format!("{}", NaiveTime::from_hms_opt(23, 56, 4).unwrap()), "23:56:04");
assert_eq!(
    format!("{}", NaiveTime::from_hms_milli_opt(23, 56, 4, 12).unwrap()),
    "23:56:04.012"
);
assert_eq!(
    format!("{}", NaiveTime::from_hms_micro_opt(23, 56, 4, 1234).unwrap()),
    "23:56:04.001234"
);
assert_eq!(
    format!("{}", NaiveTime::from_hms_nano_opt(23, 56, 4, 123456).unwrap()),
    "23:56:04.000123456"
);

Leap seconds may also be used.

assert_eq!(
    format!("{}", NaiveTime::from_hms_milli_opt(6, 59, 59, 1_500).unwrap()),
    "06:59:60.500"
);
Sourceยง

impl Display for FixedOffset

Sourceยง

impl Display for Utc

Sourceยง

impl Display for OutOfRange

Sourceยง

impl Display for OutOfRangeError

Sourceยง

impl Display for TimeDelta

Sourceยง

impl Display for ParseWeekdayError

Sourceยง

impl Display for Arg

Sourceยง

impl Display for Command

Sourceยง

impl Display for ValueRange

Sourceยง

impl Display for Str

Sourceยง

impl Display for StyledStr

Color-unaware printing. Never uses coloring.

Sourceยง

impl Display for Id

Sourceยง

impl Display for InvalidLength

Sourceยง

impl Display for InvalidBufferSize

Sourceยง

impl Display for InvalidOutputSize

Sourceยง

impl Display for getrandom::error::Error

Sourceยง

impl Display for TimeSpec

Sourceยง

impl Display for TimeVal

Sourceยง

impl Display for Pid

Sourceยง

impl Display for num_traits::ParseFloatError

Sourceยง

impl Display for ReadError

Sourceยง

impl Display for rand_core::error::Error

Sourceยง

impl Display for ThreadPoolBuildError

Sourceยง

impl Display for regex_automata::dfa::onepass::BuildError

Sourceยง

impl Display for regex_automata::hybrid::error::BuildError

Sourceยง

impl Display for CacheError

Sourceยง

impl Display for regex_automata::meta::error::BuildError

Sourceยง

impl Display for regex_automata::nfa::thompson::error::BuildError

Sourceยง

impl Display for GroupInfoError

Sourceยง

impl Display for UnicodeWordBoundaryError

Sourceยง

impl Display for regex_automata::util::primitives::PatternIDError

Sourceยง

impl Display for SmallIndexError

Sourceยง

impl Display for regex_automata::util::primitives::StateIDError

Sourceยง

impl Display for regex_automata::util::search::MatchError

Sourceยง

impl Display for PatternSetInsertError

Sourceยง

impl Display for DeserializeError

Sourceยง

impl Display for SerializeError

Sourceยง

impl Display for regex_syntax::ast::Error

Sourceยง

impl Display for regex_syntax::hir::Error

Sourceยง

impl Display for Hir

Print a display representation of this Hir.

The result of this is a valid regular expression pattern string.

This implementation uses constant stack space and heap space proportional to the size of the Hir.

Sourceยง

impl Display for CaseFoldError

Sourceยง

impl Display for UnicodeWordError

Sourceยง

impl Display for regex::regex::bytes::Regex

Sourceยง

impl Display for rustix::backend::io::errno::Errno

Sourceยง

impl Display for semver::parse::Error

Sourceยง

impl Display for BuildMetadata

Sourceยง

impl Display for Comparator

Sourceยง

impl Display for Prerelease

Sourceยง

impl Display for Version

Sourceยง

impl Display for VersionReq

Sourceยง

impl Display for serde::de::value::Error

Sourceยง

impl Display for serde_json::error::Error

Sourceยง

impl Display for Number

Sourceยง

impl Display for UnifiedHunkHeader

Sourceยง

impl Display for snafu::Location

Sourceยง

impl Display for Whatever

Sourceยง

impl Display for PathPersistError

Sourceยง

impl Display for uuid::error::Error

Sourceยง

impl Display for Braced

Sourceยง

impl Display for Hyphenated

Sourceยง

impl Display for Simple

Sourceยง

impl Display for Urn

Sourceยง

impl Display for Uuid

1.0.0 ยท Sourceยง

impl Display for pub_just::io::Error

1.56.0 ยท Sourceยง

impl Display for WriterPanicked

Sourceยง

impl Display for ModulePath

Sourceยง

impl Display for Name<'_>

1.0.0 ยท Sourceยง

impl Display for pub_just::path::Display<'_>

1.7.0 ยท Sourceยง

impl Display for StripPrefixError

Sourceยง

impl Display for ExitStatusError

Sourceยง

impl Display for DisplayRange<&RangeInclusive<usize>>

1.0.0 ยท Sourceยง

impl Display for ParseBoolError

1.0.0 ยท Sourceยง

impl Display for Utf8Error

1.0.0 ยท Sourceยง

impl Display for ExitStatus

Sourceยง

impl Display for pub_just::Regex

Sourceยง

impl Display for Utf8Path

Sourceยง

impl Display for dyn Expected + '_

Sourceยง

impl<'a> Display for Utf8Component<'a>

Sourceยง

impl<'a> Display for Unexpected<'a>

Sourceยง

impl<'a> Display for Wrapper<'a>

1.60.0 ยท Sourceยง

impl<'a> Display for EscapeAscii<'a>

Sourceยง

impl<'a> Display for ANSIGenericString<'a, str>

Sourceยง

impl<'a> Display for ANSIGenericStrings<'a, str>

Sourceยง

impl<'a> Display for Utf8PrefixComponent<'a>

Sourceยง

impl<'a> Display for PercentEncode<'a>

1.34.0 ยท Sourceยง

impl<'a> Display for pub_just::str::EscapeDebug<'a>

1.34.0 ยท Sourceยง

impl<'a> Display for pub_just::str::EscapeDefault<'a>

1.34.0 ยท Sourceยง

impl<'a> Display for pub_just::str::EscapeUnicode<'a>

Sourceยง

impl<'a, I, B> Display for DelayedFormat<I>
where I: Iterator<Item = B> + Clone, B: Borrow<Item<'a>>,

Sourceยง

impl<'a, K, V> Display for std::collections::hash::map::OccupiedError<'a, K, V>
where K: Debug, V: Debug,

Sourceยง

impl<'a, K, V, A> Display for alloc::collections::btree::map::entry::OccupiedError<'a, K, V, A>
where K: Debug + Ord, V: Debug, A: Allocator + Clone,

Sourceยง

impl<'diff, 'old, 'new, 'bufs, T> Display for UnifiedDiff<'diff, 'old, 'new, 'bufs, T>
where 'diff: 'old, 'diff: 'new, 'diff: 'bufs, T: DiffableStr + ?Sized,

Sourceยง

impl<'diff, 'old, 'new, 'bufs, T> Display for UnifiedDiffHunk<'diff, 'old, 'new, 'bufs, T>
where 'diff: 'old, 'diff: 'new, 'diff: 'bufs, T: DiffableStr + ?Sized,

Sourceยง

impl<'s> Display for StrippedStr<'s>

Sourceยง

impl<'s, T> Display for Change<&'s T>
where T: DiffableStr + ?Sized,

Sourceยง

impl<'src> Display for Attribute<'src>

Sourceยง

impl<'src> Display for Expression<'src>

Sourceยง

impl<'src> Display for Item<'src>

Sourceยง

impl<'src> Display for Setting<'src>

Sourceยง

impl<'src> Display for Alias<'src>

Sourceยง

impl<'src> Display for Alias<'src, Name<'src>>

Sourceยง

impl<'src> Display for pub_just::ast::Ast<'src>

Sourceยง

impl<'src> Display for Condition<'src>

Sourceยง

impl<'src> Display for Dependency<'src>

Sourceยง

impl<'src> Display for Interpreter<'src>

Sourceยง

impl<'src> Display for Namepath<'src>

Sourceยง

impl<'src> Display for Set<'src>

Sourceยง

impl<'src> Display for StringLiteral<'src>

Sourceยง

impl<'src> Display for Suggestion<'src>

Sourceยง

impl<'src> Display for UnresolvedDependency<'src>

Sourceยง

impl<'src> Display for Assignment<'src>

Sourceยง

impl<'str> Display for ShowWhitespace<'str>

1.0.0 ยท Sourceยง

impl<B> Display for Cow<'_, B>
where B: Display + ToOwned + ?Sized, <B as ToOwned>::Owned: Display,

Sourceยง

impl<E> Display for std::error::Report<E>
where E: Error,

Sourceยง

impl<E> Display for LookupError<E>
where E: Display,

Sourceยง

impl<E> Display for snafu::report::Report<E>
where E: Error,

Sourceยง

impl<F> Display for FromFn<F>
where F: Fn(&mut Formatter<'_>) -> Result<(), Error>,

Sourceยง

impl<F> Display for clap_builder::error::Error<F>
where F: ErrorFormatter,

Sourceยง

impl<F> Display for PersistError<F>

Sourceยง

impl<O> Display for F32<O>
where O: ByteOrder,

Sourceยง

impl<O> Display for F64<O>
where O: ByteOrder,

Sourceยง

impl<O> Display for I16<O>
where O: ByteOrder,

Sourceยง

impl<O> Display for I32<O>
where O: ByteOrder,

Sourceยง

impl<O> Display for I64<O>
where O: ByteOrder,

Sourceยง

impl<O> Display for I128<O>
where O: ByteOrder,

Sourceยง

impl<O> Display for U16<O>
where O: ByteOrder,

Sourceยง

impl<O> Display for U32<O>
where O: ByteOrder,

Sourceยง

impl<O> Display for U64<O>
where O: ByteOrder,

Sourceยง

impl<O> Display for U128<O>
where O: ByteOrder,

1.33.0 ยท Sourceยง

impl<Ptr> Display for Pin<Ptr>
where Ptr: Display,

Sourceยง

impl<T> Display for SendTimeoutError<T>

1.0.0 ยท Sourceยง

impl<T> Display for TrySendError<T>

1.0.0 ยท Sourceยง

impl<T> Display for TryLockError<T>

1.0.0 ยท Sourceยง

impl<T> Display for &T
where T: Display + ?Sized,

1.0.0 ยท Sourceยง

impl<T> Display for &mut T
where T: Display + ?Sized,

Sourceยง

impl<T> Display for ThinBox<T>
where T: Display + ?Sized,

1.20.0 ยท Sourceยง

impl<T> Display for core::cell::Ref<'_, T>
where T: Display + ?Sized,

1.20.0 ยท Sourceยง

impl<T> Display for RefMut<'_, T>
where T: Display + ?Sized,

1.28.0 ยท Sourceยง

impl<T> Display for NonZero<T>

1.74.0 ยท Sourceยง

impl<T> Display for Saturating<T>
where T: Display,

1.10.0 ยท Sourceยง

impl<T> Display for Wrapping<T>
where T: Display,

1.0.0 ยท Sourceยง

impl<T> Display for SendError<T>

Sourceยง

impl<T> Display for MappedMutexGuard<'_, T>
where T: Display + ?Sized,

1.0.0 ยท Sourceยง

impl<T> Display for PoisonError<T>

Sourceยง

impl<T> Display for ReentrantLockGuard<'_, T>
where T: Display + ?Sized,

Sourceยง

impl<T> Display for MappedRwLockReadGuard<'_, T>
where T: Display + ?Sized,

Sourceยง

impl<T> Display for MappedRwLockWriteGuard<'_, T>
where T: Display + ?Sized,

1.20.0 ยท Sourceยง

impl<T> Display for RwLockReadGuard<'_, T>
where T: Display + ?Sized,

1.20.0 ยท Sourceยง

impl<T> Display for RwLockWriteGuard<'_, T>
where T: Display + ?Sized,

Sourceยง

impl<T> Display for CapacityError<T>

Sourceยง

impl<T> Display for CachePadded<T>
where T: Display,

Sourceยง

impl<T> Display for ShardedLockReadGuard<'_, T>
where T: Display + ?Sized,

Sourceยง

impl<T> Display for ShardedLockWriteGuard<'_, T>
where T: Display + ?Sized,

Sourceยง

impl<T> Display for AsKebabCase<T>
where T: AsRef<str>,

Sourceยง

impl<T> Display for AsLowerCamelCase<T>
where T: AsRef<str>,

Sourceยง

impl<T> Display for AsShoutyKebabCase<T>
where T: AsRef<str>,

Sourceยง

impl<T> Display for AsShoutySnakeCase<T>
where T: AsRef<str>,

Sourceยง

impl<T> Display for AsSnakeCase<T>
where T: AsRef<str>,

Sourceยง

impl<T> Display for AsTitleCase<T>
where T: AsRef<str>,

Sourceยง

impl<T> Display for AsTrainCase<T>
where T: AsRef<str>,

Sourceยง

impl<T> Display for AsUpperCamelCase<T>
where T: AsRef<str>,

Sourceยง

impl<T> Display for Unalign<T>
where T: Unaligned + Display,

1.20.0 ยท Sourceยง

impl<T> Display for MutexGuard<'_, T>
where T: Display + ?Sized,

1.0.0 ยท Sourceยง

impl<T, A> Display for Box<T, A>
where T: Display + ?Sized, A: Allocator,

1.0.0 ยท Sourceยง

impl<T, A> Display for Arc<T, A>
where T: Display + ?Sized, A: Allocator,

1.0.0 ยท Sourceยง

impl<T, A> Display for Rc<T, A>
where T: Display + ?Sized, A: Allocator,

Sourceยง

impl<T, B> Display for zerocopy::Ref<B, [T]>
where B: ByteSlice, T: FromBytes, [T]: Display,

Sourceยง

impl<T, B> Display for zerocopy::Ref<B, T>
where B: ByteSlice, T: FromBytes + Display,

Sourceยง

impl<T: Display> Display for Count<T>

Sourceยง

impl<T: Display> Display for Enclosure<T>

Sourceยง

impl<T: Display, I: Iterator<Item = T> + Clone> Display for List<T, I>

Sourceยง

impl<Tz> Display for Date<Tz>
where Tz: TimeZone, <Tz as TimeZone>::Offset: Display,

Sourceยง

impl<Tz> Display for DateTime<Tz>
where Tz: TimeZone, <Tz as TimeZone>::Offset: Display,

1.0.0 ยท Sourceยง

impl<W> Display for IntoInnerError<W>

Sourceยง

impl<const CAP: usize> Display for ArrayString<CAP>

Sourceยง

impl<const N: usize> Display for GetManyMutError<N>