pub trait Debug:PointeeSized { // Required method fnfmt(&self, f: &mutFormatter<'_>) ->Result;}Expand description
? formatting.
Debug should format the output in a programmer-facing, debugging context.
Generally speaking, you should justderive aDebug implementation.
When used with the alternate format specifier#?, the output is pretty-printed.
For more information on formatters, seethe module-level documentation.
This trait can be used with#[derive] if all fields implementDebug. Whenderived for structs, it will use the name of thestruct, then{, then acomma-separated list of each field’s name andDebug value, then}. Forenums, it will use the name of the variant and, if applicable,(, then theDebug values of the fields, then).
§Stability
DerivedDebug formats are not stable, and so may change with future Rustversions. Additionally,Debug implementations of types provided by thestandard library (std,core,alloc, etc.) are not stable, andmay also change with future Rust versions.
§Examples
Deriving an implementation:
#[derive(Debug)]structPoint { x: i32, y: i32,}letorigin = Point { x:0, y:0};assert_eq!(format!("The origin is: {origin:?}"),"The origin is: Point { x: 0, y: 0 }",);Manually implementing:
usestd::fmt;structPoint { x: i32, y: i32,}implfmt::DebugforPoint {fnfmt(&self, f:&mutfmt::Formatter<'_>) -> fmt::Result { f.debug_struct("Point") .field("x",&self.x) .field("y",&self.y) .finish() }}letorigin = Point { x:0, y:0};assert_eq!(format!("The origin is: {origin:?}"),"The origin is: Point { x: 0, y: 0 }",);There are a number of helper methods on theFormatter struct to help you with manualimplementations, such asdebug_struct.
Types that do not wish to use the standard suite of debug representationsprovided by theFormatter trait (debug_struct,debug_tuple,debug_list,debug_set,debug_map) can do something totally custom bymanually writing an arbitrary representation to theFormatter.
implfmt::DebugforPoint {fnfmt(&self, f:&mutfmt::Formatter<'_>) -> fmt::Result {write!(f,"Point [{} {}]",self.x,self.y) }}Debug implementations using eitherderive or the debug builder APIonFormatter support pretty-printing using the alternate flag:{:#?}.
Pretty-printing with#?:
Required Methods§
1.0.0 ·Sourcefnfmt(&self, f: &mutFormatter<'_>) ->Result
fnfmt(&self, f: &mutFormatter<'_>) ->Result
Formats the value using the given formatter.
§Errors
This function should returnErr if, and only if, the providedFormatter returnsErr.String formatting is considered an infallible operation; this function onlyreturns aResult because writing to the underlying stream might fail and it mustprovide a way to propagate the fact that an error has occurred back up the stack.
§Examples
usestd::fmt;structPosition { longitude: f32, latitude: f32,}implfmt::DebugforPosition {fnfmt(&self, f:&mutfmt::Formatter<'_>) -> fmt::Result { f.debug_tuple("") .field(&self.longitude) .field(&self.latitude) .finish() }}letposition = Position { longitude:1.987, latitude:2.983};assert_eq!(format!("{position:?}"),"(1.987, 2.983)");assert_eq!(format!("{position:#?}"),"( 1.987, 2.983,)");Implementors§
implDebug forAsciiChar
implDebug for core::cmp::Ordering
implDebug forInfallible
implDebug forFromBytesWithNulError
implDebug forc_void
implDebug forAtomicOrdering
implDebug forSimdAlign
implDebug forIpAddr
implDebug forIpv6MulticastScope
implDebug forSocketAddr
implDebug forFpCategory
implDebug forIntErrorKind
implDebug forobjc_class
implDebug forobjc_selector
implDebug forGetDisjointMutError
implDebug forSearchStep
implDebug for core::sync::atomic::Ordering
implDebug for core::fmt::Alignment
implDebug forDebugAsHex
implDebug forSign
implDebug forbool
implDebug forchar
implDebug forf16
implDebug forf32
implDebug forf64
implDebug forf128
implDebug fori8
implDebug fori16
implDebug fori32
implDebug fori64
implDebug fori128
implDebug forisize
implDebug for!
implDebug forstr
implDebug foru8
implDebug foru16
implDebug foru32
implDebug foru64
implDebug foru128
implDebug for()
implDebug forusize
implDebug forAllocError
implDebug forLayout
implDebug forLayoutError
implDebug forTypeId
implDebug forfloat64x1_t
target_arch=arm64ec only.implDebug forfloat64x1x2_t
target_arch=arm64ec only.implDebug forfloat64x1x3_t
target_arch=arm64ec only.implDebug forfloat64x1x4_t
target_arch=arm64ec only.implDebug forfloat64x2_t
target_arch=arm64ec only.implDebug forfloat64x2x2_t
target_arch=arm64ec only.implDebug forfloat64x2x3_t
target_arch=arm64ec only.implDebug forfloat64x2x4_t
target_arch=arm64ec only.implDebug forfloat16x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forfloat16x4x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forfloat16x4x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forfloat16x4x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forfloat16x8_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forfloat16x8x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forfloat16x8x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forfloat16x8x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forfloat32x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forfloat32x2x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forfloat32x2x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forfloat32x2x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forfloat32x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forfloat32x4x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forfloat32x4x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forfloat32x4x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint8x8_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint8x8x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint8x8x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint8x8x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint8x16_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint8x16x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint8x16x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint8x16x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint16x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint16x4x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint16x4x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint16x4x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint16x8_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint16x8x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint16x8x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint16x8x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint32x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint32x2x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint32x2x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint32x2x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint32x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint32x4x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint32x4x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint32x4x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint64x1_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint64x1x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint64x1x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint64x1x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint64x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint64x2x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint64x2x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forint64x2x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly8x8_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly8x8x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly8x8x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly8x8x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly8x16_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly8x16x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly8x16x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly8x16x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly16x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly16x4x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly16x4x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly16x4x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly16x8_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly16x8x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly16x8x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly16x8x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly64x1_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly64x1x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly64x1x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly64x1x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly64x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly64x2x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly64x2x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug forpoly64x2x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint8x8_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint8x8x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint8x8x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint8x8x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint8x16_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint8x16x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint8x16x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint8x16x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint16x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint16x4x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint16x4x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint16x4x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint16x8_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint16x8x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint16x8x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint16x8x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint32x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint32x2x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint32x2x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint32x2x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint32x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint32x4x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint32x4x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint32x4x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint64x1_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint64x1x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint64x1x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint64x1x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint64x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint64x2x2_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint64x2x3_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug foruint64x2x4_t
target_arch=arm64ec or target featurev7) and (ARM or AArch64 ortarget_arch=arm64ec) only.implDebug form128
implDebug form128d
implDebug form128i
implDebug form256
implDebug form256d
implDebug form256i
implDebug forf16x2
target_arch=nvptx64 only.implDebug for core::arch::powerpc::vector_bool_char
implDebug for core::arch::powerpc::vector_bool_int
implDebug forvector_bool_long
implDebug for core::arch::powerpc::vector_bool_short
implDebug for core::arch::powerpc::vector_double
implDebug for core::arch::powerpc::vector_float
implDebug for core::arch::powerpc::vector_signed_char
implDebug for core::arch::powerpc::vector_signed_int
implDebug forvector_signed_long
implDebug for core::arch::powerpc::vector_signed_short
implDebug for core::arch::powerpc::vector_unsigned_char
implDebug for core::arch::powerpc::vector_unsigned_int
implDebug forvector_unsigned_long
implDebug for core::arch::powerpc::vector_unsigned_short
implDebug for core::arch::s390x::vector_bool_char
implDebug for core::arch::s390x::vector_bool_int
implDebug forvector_bool_long_long
implDebug for core::arch::s390x::vector_bool_short
implDebug for core::arch::s390x::vector_double
implDebug for core::arch::s390x::vector_float
implDebug for core::arch::s390x::vector_signed_char
implDebug for core::arch::s390x::vector_signed_int
implDebug forvector_signed_long_long
implDebug for core::arch::s390x::vector_signed_short
implDebug for core::arch::s390x::vector_unsigned_char
implDebug for core::arch::s390x::vector_unsigned_int
implDebug forvector_unsigned_long_long
implDebug for core::arch::s390x::vector_unsigned_short
implDebug forv128
target_family=wasm only.implDebug forCpuidResult
implDebug for__m128
implDebug for__m128bh
implDebug for__m128d
implDebug for__m128h
implDebug for__m128i
implDebug for__m256
implDebug for__m256bh
implDebug for__m256d
implDebug for__m256h
implDebug for__m256i
implDebug for__m512
implDebug for__m512bh
implDebug for__m512d
implDebug for__m512h
implDebug for__m512i
implDebug forbf16
implDebug forTryFromSliceError
implDebug for core::ascii::EscapeDefault
implDebug forByteStr
implDebug forBorrowError
implDebug forBorrowMutError
implDebug forCharTryFromError
implDebug forDecodeUtf16Error
implDebug for core::char::EscapeDebug
implDebug for core::char::EscapeDefault
implDebug for core::char::EscapeUnicode
implDebug forParseCharError
implDebug forToLowercase
implDebug forToUppercase
implDebug forTryFromCharError
implDebug forCStr
Shows the underlying bytes as a normal string, with invalid UTF-8presented as hex escape sequences.
implDebug forFromBytesUntilNulError
implDebug forSipHasher
implDebug forLast
implDebug forBorrowedBuf<'_>
implDebug forPhantomContravariantLifetime<'_>
implDebug forPhantomCovariantLifetime<'_>
implDebug forPhantomInvariantLifetime<'_>
implDebug forPhantomPinned
implDebug forAssume
implDebug forAddrParseError
implDebug forIpv4Addr
implDebug forIpv6Addr
implDebug forSocketAddrV4
implDebug forSocketAddrV6
implDebug forParseFloatError
implDebug forParseIntError
implDebug forTryFromIntError
implDebug forRangeFull
implDebug forLocation<'_>
implDebug forPanicMessage<'_>
implDebug for core::ptr::Alignment
implDebug forChars<'_>
implDebug forEncodeUtf16<'_>
implDebug forParseBoolError
implDebug forUtf8Chunks<'_>
implDebug forUtf8Error
implDebug forAtomicBool
implDebug forAtomicI8
implDebug forAtomicI16
implDebug forAtomicI32
implDebug forAtomicI64
implDebug forAtomicIsize
implDebug forAtomicU8
implDebug forAtomicU16
implDebug forAtomicU32
implDebug forAtomicU64
implDebug forAtomicUsize
implDebug forContext<'_>
implDebug forLocalWaker
implDebug forRawWaker
implDebug forRawWakerVTable
implDebug forWaker
implDebug forDuration
implDebug forTryFromFloatSecsError
implDebug forArguments<'_>
implDebug forError
implDebug forFormattingOptions
implDebug for dynAny
implDebug for dynAny +Send
implDebug for dynAny +Send +Sync
impl<'a>Debug forUtf8Pattern<'a>
impl<'a>Debug forRequest<'a>
impl<'a>Debug forSource<'a>
impl<'a>Debug for core::ffi::c_str::Bytes<'a>
impl<'a>Debug forBorrowedCursor<'a>
impl<'a>Debug forPanicInfo<'a>
impl<'a>Debug forEscapeAscii<'a>
impl<'a>Debug forCharSearcher<'a>
impl<'a>Debug for core::str::Bytes<'a>
impl<'a>Debug forCharIndices<'a>
impl<'a>Debug for core::str::EscapeDebug<'a>
impl<'a>Debug for core::str::EscapeDefault<'a>
impl<'a>Debug for core::str::EscapeUnicode<'a>
impl<'a>Debug forLines<'a>
impl<'a>Debug forLinesAny<'a>
impl<'a>Debug forSplitAsciiWhitespace<'a>
impl<'a>Debug forSplitWhitespace<'a>
impl<'a>Debug forUtf8Chunk<'a>
impl<'a>Debug forContextBuilder<'a>
impl<'a, 'b>Debug forCharSliceSearcher<'a, 'b>
impl<'a, 'b>Debug forStrSearcher<'a, 'b>
impl<'a, 'b, const N:usize>Debug forCharArrayRefSearcher<'a, 'b, N>
impl<'a, 'f: 'a>Debug forVaList<'a, 'f>
impl<'a, A:Debug + 'a>Debug for core::option::Iter<'a, A>
impl<'a, A:Debug + 'a>Debug for core::option::IterMut<'a, A>
impl<'a, I:Debug>Debug forByRefSized<'a, I>
impl<'a, P>Debug forMatchIndices<'a, P>
impl<'a, P>Debug forMatches<'a, P>
impl<'a, P>Debug forRMatchIndices<'a, P>
impl<'a, P>Debug forRMatches<'a, P>
impl<'a, P>Debug for core::str::RSplit<'a, P>
impl<'a, P>Debug for core::str::RSplitN<'a, P>
impl<'a, P>Debug forRSplitTerminator<'a, P>
impl<'a, P>Debug for core::str::Split<'a, P>
impl<'a, P>Debug for core::str::SplitN<'a, P>
impl<'a, P>Debug forSplitTerminator<'a, P>
impl<'a, P:Pattern<Searcher<'a>:Debug>>Debug for core::str::SplitInclusive<'a, P>
impl<'a, T: 'a +Debug, P>Debug forChunkBy<'a, T, P>
impl<'a, T: 'a +Debug, P>Debug forChunkByMut<'a, T, P>
impl<'a, T:Debug + 'a>Debug for core::result::Iter<'a, T>
impl<'a, T:Debug + 'a>Debug for core::result::IterMut<'a, T>
impl<'a, T:Debug + 'a>Debug forChunks<'a, T>
impl<'a, T:Debug + 'a>Debug forChunksExact<'a, T>
impl<'a, T:Debug + 'a>Debug forChunksExactMut<'a, T>
impl<'a, T:Debug + 'a>Debug forChunksMut<'a, T>
impl<'a, T:Debug + 'a>Debug forRChunks<'a, T>
impl<'a, T:Debug + 'a>Debug forRChunksExact<'a, T>
impl<'a, T:Debug + 'a>Debug forRChunksExactMut<'a, T>
impl<'a, T:Debug + 'a>Debug forRChunksMut<'a, T>
impl<'a, T:Debug + 'a>Debug forWindows<'a, T>
impl<'a, T:Debug + 'a, const N:usize>Debug forArrayWindows<'a, T, N>
impl<'a, const N:usize>Debug forCharArraySearcher<'a, N>
impl<'f>Debug forVaListImpl<'f>
impl<A:Debug>Debug forRepeat<A>
impl<A:Debug>Debug forRepeatN<A>
impl<A:Debug>Debug for core::option::IntoIter<A>
impl<A:Debug>Debug forIterRange<A>
impl<A:Debug>Debug forIterRangeFrom<A>
impl<A:Debug>Debug forIterRangeInclusive<A>
impl<A:Debug, B:Debug>Debug forChain<A, B>
impl<A:Debug, B:Debug>Debug forZip<A, B>
impl<B:Debug, C:Debug>Debug forControlFlow<B, C>
impl<Dyn:PointeeSized>Debug forDynMetadata<Dyn>
impl<F>Debug forPollFn<F>
impl<F>Debug for core::iter::FromFn<F>
impl<F>Debug forOnceWith<F>
impl<F>Debug forRepeatWith<F>
impl<F>Debug forCharPredicateSearcher<'_, F>
impl<F>Debug for core::fmt::FromFn<F>
impl<F:FnPtr>Debug for F
impl<G>Debug forFromCoroutine<G>
impl<H>Debug forBuildHasherDefault<H>
impl<I>Debug forDecodeUtf16<I>
impl<I, G>Debug forIntersperseWith<I, G>
impl<I, U>Debug forFlatten<I>
impl<I:Iterator +Debug, F, const N:usize>Debug forMapWindows<I, F, N>
impl<I:Debug +Iterator>Debug forIntersperse<I>
impl<I:Debug +Iterator>Debug forPeekable<I>
impl<I:Debug +Iterator, const N:usize>Debug forArrayChunks<I, N>
impl<I:Debug>Debug forFromIter<I>
impl<I:Debug>Debug forCloned<I>
impl<I:Debug>Debug forCopied<I>
impl<I:Debug>Debug forCycle<I>
impl<I:Debug>Debug forEnumerate<I>
impl<I:Debug>Debug forFuse<I>
impl<I:Debug>Debug forSkip<I>
impl<I:Debug>Debug forStepBy<I>
impl<I:Debug>Debug forTake<I>
impl<I:Debug, F>Debug forFilterMap<I, F>
impl<I:Debug, F>Debug forInspect<I, F>
impl<I:Debug, F>Debug forMap<I, F>
impl<I:Debug, P>Debug forFilter<I, P>
impl<I:Debug, P>Debug forMapWhile<I, P>
impl<I:Debug, P>Debug forSkipWhile<I, P>
impl<I:Debug, P>Debug forTakeWhile<I, P>
impl<I:Debug, St:Debug, F>Debug forScan<I, St, F>
impl<I:Debug, U, F>Debug forFlatMap<I, U, F>where U:IntoIterator<IntoIter:Debug>,
impl<Idx:Debug>Debug forClamp<Idx>
impl<Idx:Debug>Debug for core::ops::Range<Idx>
impl<Idx:Debug>Debug for core::ops::RangeFrom<Idx>
impl<Idx:Debug>Debug for core::ops::RangeInclusive<Idx>
impl<Idx:Debug>Debug forRangeTo<Idx>
impl<Idx:Debug>Debug for core::ops::RangeToInclusive<Idx>
impl<Idx:Debug>Debug for core::range::Range<Idx>
impl<Idx:Debug>Debug for core::range::RangeFrom<Idx>
impl<Idx:Debug>Debug for core::range::RangeInclusive<Idx>
impl<Idx:Debug>Debug for core::range::RangeToInclusive<Idx>
impl<Ptr:Debug>Debug forPin<Ptr>
impl<T>Debug forPending<T>
impl<T>Debug forEmpty<T>
impl<T>Debug forPhantomContravariant<T>where T: ?Sized,
impl<T>Debug forPhantomCovariant<T>where T: ?Sized,
impl<T>Debug forPhantomInvariant<T>where T: ?Sized,
impl<T>Debug forDiscriminant<T>
impl<T>Debug forNonZero<T>where T:ZeroablePrimitive +Debug,
impl<T>Debug forAtomicPtr<T>
impl<T>Debug forMaybeUninit<T>
impl<T, F>Debug forDropGuard<T, F>
impl<T, const N:usize>Debug forMask<T, N>
impl<T, const N:usize>Debug forSimd<T, N>
impl<T:Copy +Debug>Debug forCell<T>
impl<T:PointeeSized +Debug>Debug for&T
impl<T:PointeeSized +Debug>Debug for&mut T
impl<T:PointeeSized>Debug for*const T
impl<T:PointeeSized>Debug for*mut T
impl<T:PointeeSized>Debug forNonNull<T>
impl<T:Debug +NumBufferTrait>Debug forNumBuffer<T>
impl<T:Debug + ?Sized>Debug forManuallyDrop<T>
impl<T:Debug>Debug forBound<T>
impl<T:Debug>Debug forOption<T>
impl<T:Debug>Debug forPoll<T>
impl<T:Debug>Debug for[T]
impl<T:Debug>Debug for(T₁, T₂, …, Tₙ)
This trait is implemented for tuples up to twelve items long.