devela::_core::fmt

Trait Display

1.6.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§

1.0.0 · Source§

impl Display for VarError

1.15.0 · Source§

impl Display for RecvTimeoutError

1.0.0 · Source§

impl Display for TryRecvError

§

impl Display for CheckedCastError

§

impl Display for PodCastError

§

impl Display for SetCursorStyle

§

impl Display for KeyCode

§

impl Display for MediaKeyCode

§

impl Display for ModifierKeyCode

§

impl Display for Attribute

§

impl Display for Colored

§

impl Display for devela::_dep::kira::backend::cpal::Error

§

impl Display for FromFileError

Source§

impl Display for devela::_dep::log::Level

Source§

impl Display for devela::_dep::log::LevelFilter

§

impl Display for ConnectErrorKind

§

impl Display for PortInfoError

§

impl Display for devela::_dep::midir::SendError

§

impl Display for ShaderError

§

impl Display for devela::_dep::miniquad::fs::Error

§

impl Display for Associativity

§

impl Display for CacheType

§

impl Display for DatType

§

impl Display for ExtendedRegisterStateLocation

§

impl Display for ExtendedRegisterType

§

impl Display for TopologyType

§

impl Display for Panic

§

impl Display for BuildStreamError

§

impl Display for DefaultStreamConfigError

§

impl Display for DeviceNameError

§

impl Display for PauseStreamError

§

impl Display for PlayStreamError

§

impl Display for SampleFormat

§

impl Display for devela::_dep::rodio::cpal::StreamError

§

impl Display for SupportedStreamConfigsError

§

impl Display for DecoderError

§

impl Display for Mp4Type

§

impl Display for devela::_dep::rodio::decoder::symphonia::SeekError

§

impl Display for DevicesError

§

impl Display for PlayError

§

impl Display for devela::_dep::rodio::StreamError

§

impl Display for devela::_dep::rodio::source::SeekError

§

impl Display for devela::_dep::symphonia::core::errors::Error

§

impl Display for Value

§

impl Display for DiskKind

§

impl Display for ProcessStatus

§

impl Display for Signal

§

impl Display for devela::_dep::winnow::error::ErrorKind

The Display implementation allows the std::error::Error implementation

§

impl Display for StrContext

§

impl Display for StrContextValue

Source§

impl Display for AudioError

Available on crate feature audio only.
Source§

impl Display for ColorError

Available on crate feature color only.
Source§

impl Display for DrawError

Available on crate feature draw only.
Source§

impl Display for FontError

Available on crate feature font only.
Source§

impl Display for ImageError

Available on crate feature image only.
1.60.0 · Source§

impl Display for devela::all::IoErrorKind

Source§

impl Display for MediaError

Available on media·· only.
Source§

impl Display for MidiError

Available on crate feature midi only.
Source§

impl Display for NotAvailable

1.34.0 · Source§

impl Display for Infallible

Source§

impl Display for DataNotEnough

Source§

impl Display for MismatchedBounds

Source§

impl Display for PartialSpace

Source§

impl Display for NumError

Source§

impl Display for Month

Source§

impl Display for Weekday

Source§

impl Display for devela::text::AsciiChar

Source§

impl Display for InvalidText

Source§

impl Display for devela::ui::LayoutError

Available on crate feature layout only.
Source§

impl Display for UiError

Available on ui·· only.
Source§

impl Display for devela::_core::ascii::Char

1.7.0 · Source§

impl Display for IpAddr

1.0.0 · Source§

impl Display for SocketAddr

Source§

impl Display for GetManyMutError

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 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 devela::_dep::_alloc::string::FromUtf8Error

1.0.0 · Source§

impl Display for devela::_dep::_alloc::string::FromUtf16Error

1.0.0 · Source§

impl Display for JoinPathsError

Source§

impl Display for devela::_dep::_std::ffi::os_str::Display<'_>

1.56.0 · Source§

impl Display for WriterPanicked

1.26.0 · Source§

impl Display for PanicHookInfo<'_>

1.0.0 · Source§

impl Display for ExitStatus

Source§

impl Display for ExitStatusError

1.0.0 · Source§

impl Display for RecvError

1.8.0 · Source§

impl Display for devela::_dep::_std::time::SystemTimeError

§

impl Display for devela::_dep::bumpalo::collections::string::FromUtf16Error

§

impl Display for AllocErr

§

impl Display for DisableBlinking

§

impl Display for EnableBlinking

§

impl Display for Hide

§

impl Display for MoveDown

§

impl Display for MoveLeft

§

impl Display for MoveRight

§

impl Display for MoveTo

§

impl Display for MoveToColumn

§

impl Display for MoveToNextLine

§

impl Display for MoveToPreviousLine

§

impl Display for MoveToRow

§

impl Display for MoveUp

§

impl Display for RestorePosition

§

impl Display for SavePosition

§

impl Display for Show

§

impl Display for KeyModifiers

§

impl Display for PrintStyledContent<&'static str>

§

impl Display for PrintStyledContent<String>

§

impl Display for ResetColor

§

impl Display for SetAttribute

§

impl Display for SetBackgroundColor

§

impl Display for SetColors

§

impl Display for SetForegroundColor

§

impl Display for Clear

§

impl Display for ScrollDown

§

impl Display for ScrollUp

§

impl Display for SetSize

§

impl Display for Date

§

impl Display for DateTime

Converts a DateTime into an ISO 8601 compliant string.

Options currently supported:

§Example

use jiff::civil::date;

let dt = date(2024, 6, 15).at(7, 0, 0, 123_000_000);
assert_eq!(format!("{dt:.6}"), "2024-06-15T07:00:00.123000");
// Precision values greater than 9 are clamped to 9.
assert_eq!(format!("{dt:.300}"), "2024-06-15T07:00:00.123000000");
// A precision of 0 implies the entire fractional
// component is always truncated.
assert_eq!(format!("{dt:.0}"), "2024-06-15T07:00:00");
§

impl Display for Time

Converts a Time into an ISO 8601 compliant string.

Options currently supported:

§Example

use jiff::civil::time;

let t = time(7, 0, 0, 123_000_000);
assert_eq!(format!("{t:.6}"), "07:00:00.123000");
// Precision values greater than 9 are clamped to 9.
assert_eq!(format!("{t:.300}"), "07:00:00.123000000");
// A precision of 0 implies the entire fractional
// component is always truncated.
assert_eq!(format!("{t:.0}"), "07:00:00");
§

impl Display for devela::_dep::jiff::Error

§

impl Display for SignedDuration

§

impl Display for Span

§

impl Display for Timestamp

Converts a Timestamp datetime into a RFC 3339 compliant string.

Since a Timestamp never has an offset associated with it and is always in UTC, the string emitted by this trait implementation uses Z for “Zulu” time. The significance of Zulu time is prescribed by RFC 9557 and means that “the time in UTC is known, but the offset to local time is unknown.” If you need to emit an RFC 3339 compliant string with a specific offset, then use Timestamp::display_with_offset.

§Forrmatting options supported

§Example

use jiff::Timestamp;

let ts = Timestamp::new(1_123_456_789, 123_000_000)?;
assert_eq!(
    format!("{ts:.6}"),
    "2005-08-07T23:19:49.123000Z",
);
// Precision values greater than 9 are clamped to 9.
assert_eq!(
    format!("{ts:.300}"),
    "2005-08-07T23:19:49.123000000Z",
);
// A precision of 0 implies the entire fractional
// component is always truncated.
assert_eq!(
    format!("{ts:.0}"),
    "2005-08-07T23:19:49Z",
);
§

impl Display for TimestampDisplayWithOffset

§

impl Display for Zoned

Converts a Zoned datetime into a RFC 9557 compliant string.

Options currently supported:

§Example

use jiff::civil::date;

let zdt = date(2024, 6, 15).at(7, 0, 0, 123_000_000).intz("US/Eastern")?;
assert_eq!(
    format!("{zdt:.6}"),
    "2024-06-15T07:00:00.123000-04:00[US/Eastern]",
);
// Precision values greater than 9 are clamped to 9.
assert_eq!(
    format!("{zdt:.300}"),
    "2024-06-15T07:00:00.123000000-04:00[US/Eastern]",
);
// A precision of 0 implies the entire fractional
// component is always truncated.
assert_eq!(
    format!("{zdt:.0}"),
    "2024-06-15T07:00:00-04:00[US/Eastern]",
);
§

impl Display for Offset

Source§

impl Display for BigInt

Source§

impl Display for Boolean

Source§

impl Display for JsString

Source§

impl Display for Number

Source§

impl Display for devela::_dep::js_sys::TryFromIntError

§

impl Display for ResourceLimitReached

§

impl Display for NonexistentRoute

Source§

impl Display for devela::_dep::log::ParseLevelError

Source§

impl Display for SetLoggerError

§

impl Display for InitError

§

impl Display for PyBackedStr

§

impl Display for PyBorrowError

§

impl Display for PyBorrowMutError

§

impl Display for DowncastError<'_, '_>

§

impl Display for DowncastIntoError<'_>

§

impl Display for PyErr

Source§

impl Display for devela::_dep::rand_core::Error

§

impl Display for CacheInfo

§

impl Display for SoCVendorBrand

§

impl Display for VendorInfo

§

impl Display for ThreadPoolBuildError

§

impl Display for devela::_dep::regex_lite::Error

§

impl Display for Regex

§

impl Display for BoxedError

§

impl Display for devela::_dep::rkyv::bytecheck::rancor::Error

§

impl Display for Failure

§

impl Display for NamedEnumVariantCheckContext

§

impl Display for StructCheckContext

§

impl Display for TupleStructCheckContext

§

impl Display for UnnamedEnumVariantCheckContext

§

impl Display for IteratorLengthMismatch

§

impl Display for NonZeroI16_be

§

impl Display for NonZeroI16_le

§

impl Display for NonZeroI32_be

§

impl Display for NonZeroI32_le

§

impl Display for NonZeroI64_be

§

impl Display for NonZeroI64_le

§

impl Display for NonZeroI128_be

§

impl Display for NonZeroI128_le

§

impl Display for NonZeroU16_be

§

impl Display for NonZeroU16_le

§

impl Display for NonZeroU32_be

§

impl Display for NonZeroU32_le

§

impl Display for NonZeroU64_be

§

impl Display for NonZeroU64_le

§

impl Display for NonZeroU128_be

§

impl Display for NonZeroU128_le

§

impl Display for char_be

§

impl Display for char_le

§

impl Display for f32_be

§

impl Display for f32_le

§

impl Display for f64_be

§

impl Display for f64_le

§

impl Display for i16_be

§

impl Display for i16_le

§

impl Display for i32_be

§

impl Display for i32_le

§

impl Display for i64_be

§

impl Display for i64_le

§

impl Display for i128_be

§

impl Display for i128_le

§

impl Display for u16_be

§

impl Display for u16_le

§

impl Display for u32_be

§

impl Display for u32_le

§

impl Display for u64_be

§

impl Display for u64_le

§

impl Display for u128_be

§

impl Display for u128_le

§

impl Display for NonZeroI16_ube

§

impl Display for NonZeroI16_ule

§

impl Display for NonZeroI32_ube

§

impl Display for NonZeroI32_ule

§

impl Display for NonZeroI64_ube

§

impl Display for NonZeroI64_ule

§

impl Display for NonZeroI128_ube

§

impl Display for NonZeroI128_ule

§

impl Display for NonZeroU16_ube

§

impl Display for NonZeroU16_ule

§

impl Display for NonZeroU32_ube

§

impl Display for NonZeroU32_ule

§

impl Display for NonZeroU64_ube

§

impl Display for NonZeroU64_ule

§

impl Display for NonZeroU128_ube

§

impl Display for NonZeroU128_ule

§

impl Display for char_ube

§

impl Display for char_ule

§

impl Display for f32_ube

§

impl Display for f32_ule

§

impl Display for f64_ube

§

impl Display for f64_ule

§

impl Display for i16_ube

§

impl Display for i16_ule

§

impl Display for i32_ube

§

impl Display for i32_ule

§

impl Display for i64_ube

§

impl Display for i64_ule

§

impl Display for i128_ube

§

impl Display for i128_ule

§

impl Display for u16_ube

§

impl Display for u16_ule

§

impl Display for u32_ube

§

impl Display for u32_ule

§

impl Display for u64_ube

§

impl Display for u64_ule

§

impl Display for u128_ube

§

impl Display for u128_ule

§

impl Display for ArchivedString

§

impl Display for BackendSpecificError

§

impl Display for HostUnavailable

§

impl Display for Errno

Source§

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

§

impl Display for Channels

§

impl Display for CodecType

§

impl Display for Tag

§

impl Display for i24

§

impl Display for u24

§

impl Display for TimeBase

§

impl Display for IpNetwork

§

impl Display for MacAddr

§

impl Display for Pid

§

impl Display for SetGlobalDefaultError

§

impl Display for Field

§

impl Display for FieldSet

§

impl Display for devela::_dep::tracing::level_filters::LevelFilter

§

impl Display for ParseLevelFilterError

§

impl Display for devela::_dep::tracing::metadata::ParseLevelError

§

impl Display for devela::_dep::tracing::Level

§

impl Display for f32x4

§

impl Display for f32x8

§

impl Display for f64x2

§

impl Display for f64x4

§

impl Display for i8x16

§

impl Display for i8x32

§

impl Display for i16x8

§

impl Display for i16x16

§

impl Display for i32x4

§

impl Display for i32x8

§

impl Display for i64x2

§

impl Display for i64x4

§

impl Display for u8x16

§

impl Display for u16x8

§

impl Display for u16x16

§

impl Display for u32x4

§

impl Display for u32x8

§

impl Display for u64x2

§

impl Display for u64x4

§

impl Display for ContextError

§

impl Display for Range

§

impl Display for BStr

§

impl Display for Bytes

Source§

impl Display for ExampleBitfield

Available on crate feature _bit_u8 and doc only.
Source§

impl Display for ExampleBitfieldCustom

Available on crate feature _bit_u8 and doc only.
Source§

impl Display for ExampleBitfieldExtra

Available on crate feature _bit_u8 and doc only.
Source§

impl Display for ExampleEnumSet

Available on doc only.
1.65.0 · Source§

impl Display for Backtrace

Source§

impl Display for FailedErrorConversion

1.0.0 · Source§

impl Display for Arguments<'_>

1.0.0 · Source§

impl Display for devela::all::FmtError

1.0.0 · Source§

impl Display for devela::all::IoError

1.28.0 · Source§

impl Display for devela::all::LayoutError

Source§

impl Display for NotImplemented

Source§

impl Display for NotSupported

1.26.0 · Source§

impl Display for PanicInfo<'_>

1.26.0 · Source§

impl Display for Location<'_>

1.0.0 · Source§

impl Display for devela::all::PathDisplay<'_>

1.7.0 · Source§

impl Display for StripPrefixError

1.0.0 · Source§

impl Display for devela::all::String

1.34.0 · Source§

impl Display for devela::all::TryFromIntError

§

impl Display for m128

§

impl Display for m128d

§

impl Display for m128i

§

impl Display for m256

§

impl Display for m256d

§

impl Display for m256i

Source§

impl Display for DataOverflow

Source§

impl Display for ElementNotFound

Source§

impl Display for IndexOutOfBounds

Source§

impl Display for InvalidAxisLength

Source§

impl Display for KeyAlreadyExists

Source§

impl Display for MismatchedCapacity

Source§

impl Display for MismatchedDimensions

Source§

impl Display for MismatchedIndices

Source§

impl Display for NodeEmpty

Source§

impl Display for NodeLinkNotSet

Source§

impl Display for NodeLinkNotUnique

Source§

impl Display for NotEnoughElements

Source§

impl Display for NotEnoughSpace

Source§

impl Display for PartiallyAdded

Source§

impl Display for Divisor<i8>

Source§

impl Display for Divisor<i16>

Source§

impl Display for Divisor<i32>

Source§

impl Display for Divisor<i64>

Source§

impl Display for Divisor<i128>

Source§

impl Display for Divisor<isize>

Source§

impl Display for Divisor<u8>

Source§

impl Display for Divisor<u16>

Source§

impl Display for Divisor<u32>

Source§

impl Display for Divisor<u64>

Source§

impl Display for Divisor<u128>

Source§

impl Display for Divisor<usize>

1.66.0 · Source§

impl Display for TryFromFloatSecsError

Source§

impl Display for devela::phys::SystemTimeError

Available on crate feature std only.
Source§

impl Display for UnixTimeI64

Source§

impl Display for UnixTimeU32

Source§

impl Display for GraphemeString

Source§

impl Display for InvalidChar

Source§

impl Display for InvalidUtf8

1.0.0 · Source§

impl Display for ParseFloatError

1.0.0 · Source§

impl Display for ParseIntError

Source§

impl Display for char7

Source§

impl Display for char8

Source§

impl Display for char16

1.26.0 · Source§

impl Display for AccessError

Source§

impl Display for AllocError

1.35.0 · Source§

impl Display for TryFromSliceError

1.39.0 · Source§

impl Display for devela::_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.9.0 · Source§

impl Display for DecodeUtf16Error

1.20.0 · Source§

impl Display for devela::_core::char::EscapeDebug

1.16.0 · Source§

impl Display for devela::_core::char::EscapeDefault

1.16.0 · Source§

impl Display for devela::_core::char::EscapeUnicode

1.20.0 · Source§

impl Display for ParseCharError

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.4.0 · Source§

impl Display for AddrParseError

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.0.0 · Source§

impl Display for SocketAddrV4

1.0.0 · Source§

impl Display for SocketAddrV6

1.81.0 · Source§

impl Display for PanicMessage<'_>

1.0.0 · Source§

impl Display for ParseBoolError

1.0.0 · Source§

impl Display for devela::_core::str::Utf8Error

Source§

impl Display for getrandom::error::Error

Source§

impl Display for BVec2

Source§

impl Display for BVec3

Source§

impl Display for BVec4

Source§

impl Display for BVec3A

Source§

impl Display for BVec4A

Source§

impl Display for Affine2

Source§

impl Display for Affine3A

Source§

impl Display for Mat3

Source§

impl Display for Mat2

Source§

impl Display for Mat3A

Source§

impl Display for Mat4

Source§

impl Display for Quat

Source§

impl Display for Vec3A

Source§

impl Display for Vec4

Source§

impl Display for Vec2

Source§

impl Display for Vec3

Source§

impl Display for DAffine2

Source§

impl Display for DAffine3

Source§

impl Display for DMat2

Source§

impl Display for DMat3

Source§

impl Display for DMat4

Source§

impl Display for DQuat

Source§

impl Display for DVec2

Source§

impl Display for DVec3

Source§

impl Display for DVec4

Source§

impl Display for I8Vec2

Source§

impl Display for I8Vec3

Source§

impl Display for I8Vec4

Source§

impl Display for I16Vec2

Source§

impl Display for I16Vec3

Source§

impl Display for I16Vec4

Source§

impl Display for IVec2

Source§

impl Display for IVec3

Source§

impl Display for IVec4

Source§

impl Display for I64Vec2

Source§

impl Display for I64Vec3

Source§

impl Display for I64Vec4

Source§

impl Display for U8Vec2

Source§

impl Display for U8Vec3

Source§

impl Display for U8Vec4

Source§

impl Display for U16Vec2

Source§

impl Display for U16Vec3

Source§

impl Display for U16Vec4

Source§

impl Display for UVec2

Source§

impl Display for UVec3

Source§

impl Display for UVec4

Source§

impl Display for U64Vec2

Source§

impl Display for U64Vec3

Source§

impl Display for U64Vec4

§

impl Display for ArenaFull

§

impl Display for Chmap

§

impl Display for ChmapPosition

§

impl Display for ChunkError

§

impl Display for CollectionAllocErr

§

impl Display for Error

§

impl Display for Format

§

impl Display for InsertWithKeyError

§

impl Display for Output

§

impl Display for ParseError

§

impl Display for PeekError

§

impl Display for PopError

§

impl Display for SelemChannelId

§

impl Display for Utf8Error

§

impl Display for Utf8Error

Source§

impl Display for dyn Expected + '_

§

impl Display for dyn Value

Source§

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

§

impl<'a> Display for ValueSet<'a>

1.60.0 · Source§

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

1.34.0 · Source§

impl<'a> Display for devela::_core::str::EscapeDebug<'a>

1.34.0 · Source§

impl<'a> Display for devela::_core::str::EscapeDefault<'a>

1.34.0 · Source§

impl<'a> Display for devela::_core::str::EscapeUnicode<'a>

Source§

impl<'a, K, V> Display for devela::_dep::_std::collections::hash_map::OccupiedError<'a, K, V>
where K: Debug, V: Debug,

Source§

impl<'a, K, V, A> Display for devela::_dep::_alloc::collections::btree_map::OccupiedError<'a, K, V, A>
where K: Debug + Ord, V: Debug, A: Allocator + Clone,

§

impl<'a, R, G, T> Display for MappedReentrantMutexGuard<'a, R, G, T>
where R: RawMutex + 'a, G: GetThreadId + 'a, T: Display + 'a + ?Sized,

§

impl<'a, R, G, T> Display for ReentrantMutexGuard<'a, R, G, T>
where R: RawMutex + 'a, G: GetThreadId + 'a, T: Display + 'a + ?Sized,

§

impl<'a, R, T> Display for MappedMutexGuard<'a, R, T>
where R: RawMutex + 'a, T: Display + 'a + ?Sized,

§

impl<'a, R, T> Display for MappedRwLockReadGuard<'a, R, T>
where R: RawRwLock + 'a, T: Display + 'a + ?Sized,

§

impl<'a, R, T> Display for MappedRwLockWriteGuard<'a, R, T>
where R: RawRwLock + 'a, T: Display + 'a + ?Sized,

§

impl<'a, R, T> Display for MutexGuard<'a, R, T>
where R: RawMutex + 'a, T: Display + 'a + ?Sized,

§

impl<'a, R, T> Display for RwLockReadGuard<'a, R, T>
where R: RawRwLock + 'a, T: Display + 'a + ?Sized,

§

impl<'a, R, T> Display for RwLockUpgradableReadGuard<'a, R, T>
where R: RawRwLockUpgrade + 'a, T: Display + 'a + ?Sized,

§

impl<'a, R, T> Display for RwLockWriteGuard<'a, R, T>
where R: RawRwLock + 'a, T: Display + 'a + ?Sized,

§

impl<'a, T> Display for devela::_dep::bumpalo::boxed::Box<'a, T>
where T: Display + ?Sized,

§

impl<'bump> Display for devela::_dep::bumpalo::collections::string::FromUtf8Error<'bump>

§

impl<'bump> Display for devela::_dep::bumpalo::collections::String<'bump>

§

impl<'f> Display for devela::_dep::jiff::fmt::strtime::Display<'f>

§

impl<'n> Display for Pieces<'n>

Source§

impl<'t, T, F, U> Display for OptionFmtOrElse<'t, T, F>
where T: Display, F: Fn() -> U, U: Display,

Source§

impl<'t, T, U> Display for OptionFmtOr<'t, T, U>
where T: Display, U: Display,

1.0.0 · Source§

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

Source§

impl<BUF: DstBuf, DST> Display for DstValue<DST, BUF>
where DST: Display + ?Sized,

Available on crate feature unsafe_layout only.
§

impl<D> Display for StyledContent<D>
where D: Display,

§

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

§

impl<E> Display for PlaySoundError<E>

§

impl<E> Display for ErrMode<E>
where E: Debug,

Source§

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

Source§

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

Source§

impl<G: Display, C: Display> Display for GcdReturn<G, C>

§

impl<I> Display for InputError<I>
where I: Clone + Display,

The Display implementation allows the std::error::Error implementation

§

impl<I> Display for TreeErrorBase<I>
where I: Stream + Clone + Display,

§

impl<I> Display for LocatingSlice<I>
where I: Display,

§

impl<I> Display for Partial<I>
where I: Display,

§

impl<I, C> Display for TreeError<I, C>
where I: Stream + Clone + Display, C: Display,

§

impl<I, C> Display for TreeErrorContext<I, C>
where I: Stream + Clone + Display, C: Display,

§

impl<I, E> Display for devela::_dep::winnow::error::ParseError<I, E>
where I: AsBStr, E: Display,

§

impl<I, S> Display for Stateful<I, S>
where I: Display,

§

impl<K, V, S, A> Display for devela::_dep::hashbrown::hash_map::OccupiedError<'_, K, V, S, A>
where K: Debug, V: Debug, A: Allocator,

Source§

impl<L, R> Display for Either<L, R>
where L: Display, R: Display,

Source§

impl<N: Display, H: Display> Display for Mismatch<N, H>

1.33.0 · Source§

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

Source§

impl<S: Display, V: Display> Display for Own<S, V>

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.0.0 · Source§

impl<T> Display for devela::_dep::_std::sync::mpmc::SendError<T>

Source§

impl<T> Display for devela::_dep::_std::sync::MappedMutexGuard<'_, T>
where T: Display + ?Sized,

Source§

impl<T> Display for devela::_dep::_std::sync::MappedRwLockReadGuard<'_, T>
where T: Display + ?Sized,

Source§

impl<T> Display for devela::_dep::_std::sync::MappedRwLockWriteGuard<'_, T>
where T: Display + ?Sized,

Source§

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

§

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

§

impl<T> Display for ConnectError<T>

§

impl<T> Display for Bound<'_, T>

§

impl<T> Display for Py<T>
where T: PyTypeInfo,

§

impl<T> Display for ArchivedBox<T>

§

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

§

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

1.28.0 · Source§

impl<T> Display for NonZero<T>

Source§

impl<T> Display for OptionFmt<'_, T>
where T: Display,

1.20.0 · Source§

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

1.20.0 · Source§

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

1.74.0 · Source§

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

Source§

impl<T> Display for TypeResource<T>

1.10.0 · Source§

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

1.20.0 · Source§

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

1.0.0 · Source§

impl<T> Display for PoisonError<T>

1.20.0 · Source§

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

1.20.0 · Source§

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

Source§

impl<T> Display for CapacityError<T>

§

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

§

impl<T> Display for PushError<T>

§

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

§

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

Source§

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

1.0.0 · Source§

impl<T, A> Display for devela::all::Box<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,

1.0.0 · Source§

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

§

impl<T, F> Display for ArchivedRc<T, F>

Source§

impl<T: Display> Display for BareBox<T>

Source§

impl<T: Display> Display for CacheAlign<T>

Source§

impl<T: Display> Display for Bitwise<T>

Source§

impl<T: Display> Display for Cast<T>

Available on prim··· only.
Source§

impl<T: Display> Display for Compare<T>

Source§

impl<T: Display> Display for Float<T>

Source§

impl<T: Display> Display for Frac<T>

Source§

impl<T: Display> Display for Int<T>

Source§

impl<T: Display> Display for Interval<T>

Source§

impl<T: Display, const D: usize> Display for Extent<T, D>

Available on crate feature geom only.
Source§

impl<T: Display, const D: usize> Display for Point<T, D>

Available on crate feature geom only.
Source§

impl<T: ArrayDisplay> Display for ArrayFmt<'_, T>

Source§

impl<T: TupleDisplay> Display for TupleFmt<'_, T>

Available on crate feature _tuple only.
Source§

impl<V, Q> Display for ValueQuant<V, Q>
where V: Display, Q: Display,

1.0.0 · Source§

impl<W> Display for IntoInnerError<W>

Source§

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

Available on crate feature _string_nonul only.
Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<const V: i8> Display for devela::_info::examples::niche::NonValueI8<V>

Available on doc only.
Source§

impl<const V: i8> Display for devela::all::NonValueI8<V>

Source§

impl<const V: u8> Display for NonValueU8<V>

Source§

impl<const V: u16> Display for NonValueU16<V>