pub trait Debug {
// Required method
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>;
}
Expand description
?
formatting.
Debug
should format the output in a programmer-facing, debugging context.
Generally speaking, you should just derive
a Debug
implementation.
When used with the alternate format specifier #?
, the output is pretty-printed.
For more information on formatters, see the module-level documentation.
This trait can be used with #[derive]
if all fields implement Debug
. When
derive
d for structs, it will use the name of the struct
, then {
, then a
comma-separated list of each field’s name and Debug
value, then }
. For
enum
s, it will use the name of the variant and, if applicable, (
, then the
Debug
values of the fields, then )
.
§Stability
Derived Debug
formats are not stable, and so may change with future Rust
versions. Additionally, Debug
implementations of types provided by the
standard library (std
, core
, alloc
, etc.) are not stable, and
may also change with future Rust versions.
§Examples
Deriving an implementation:
#[derive(Debug)]
struct Point {
x: i32,
y: i32,
}
let origin = Point { x: 0, y: 0 };
assert_eq!(
format!("The origin is: {origin:?}"),
"The origin is: Point { x: 0, y: 0 }",
);
Manually implementing:
use std::fmt;
struct Point {
x: i32,
y: i32,
}
impl fmt::Debug for Point {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("Point")
.field("x", &self.x)
.field("y", &self.y)
.finish()
}
}
let origin = 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 the Formatter
struct to help you with manual
implementations, such as debug_struct
.
Types that do not wish to use the standard suite of debug representations
provided by the Formatter
trait (debug_struct
, debug_tuple
,
debug_list
, debug_set
, debug_map
) can do something totally custom by
manually writing an arbitrary representation to the Formatter
.
impl fmt::Debug for Point {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "Point [{} {}]", self.x, self.y)
}
}
Debug
implementations using either derive
or the debug builder API
on Formatter
support pretty-printing using the alternate flag: {:#?}
.
Pretty-printing with #?
:
#[derive(Debug)]
struct Point {
x: i32,
y: i32,
}
let origin = Point { x: 0, y: 0 };
let expected = "The origin is: Point {
x: 0,
y: 0,
}";
assert_eq!(format!("The origin is: {origin:#?}"), expected);
Required Methods§
1.0.0 · Sourcefn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
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::Debug for Position {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_tuple("")
.field(&self.longitude)
.field(&self.latitude)
.finish()
}
}
let position = Position { longitude: 1.987, latitude: 2.983 };
assert_eq!(format!("{position:?}"), "(1.987, 2.983)");
assert_eq!(format!("{position:#?}"), "(
1.987,
2.983,
)");
Implementors§
impl Debug for wiwi::encoding::hex::DecodeError
impl Debug for wiwi::encoding::z85::DecodeError
impl Debug for wiwi::prelude_std::atomic::Ordering
impl Debug for wiwi::prelude_std::cmp::Ordering
impl Debug for Infallible
impl Debug for VarError
impl Debug for wiwi::prelude_std::fmt::Alignment
impl Debug for alloc::collections::TryReserveErrorKind
impl Debug for AsciiChar
impl Debug for c_void
impl Debug for IpAddr
impl Debug for Ipv6MulticastScope
impl Debug for core::net::socket_addr::SocketAddr
impl Debug for FpCategory
impl Debug for IntErrorKind
impl Debug for BacktraceStatus
impl Debug for SeekFrom
impl Debug for ErrorKind
impl Debug for Shutdown
impl Debug for AncillaryError
impl Debug for RecvTimeoutError
impl Debug for std::sync::mpsc::TryRecvError
impl Debug for _Unwind_Reason_Code
impl Debug for Colons
impl Debug for Fixed
impl Debug for Numeric
impl Debug for OffsetPrecision
impl Debug for Pad
impl Debug for ParseErrorKind
impl Debug for SecondsFormat
impl Debug for Month
impl Debug for RoundingError
impl Debug for Weekday
impl Debug for FloatErrorKind
impl Debug for Always
impl Debug for BacktraceStyle
impl Debug for SearchStep
impl Debug for bool
impl Debug for char
impl Debug for f16
impl Debug for f32
impl Debug for f64
impl Debug for f128
impl Debug for i8
impl Debug for i16
impl Debug for i32
impl Debug for i64
impl Debug for i128
impl Debug for isize
impl Debug for !
impl Debug for str
impl Debug for u8
impl Debug for u16
impl Debug for u32
impl Debug for u64
impl Debug for u128
impl Debug for ()
impl Debug for usize
impl Debug for wiwi::prelude_std::alloc_mod::AllocError
impl Debug for wiwi::prelude_std::alloc_mod::Global
impl Debug for Layout
impl Debug for LayoutError
impl Debug for System
impl Debug for TryFromSliceError
impl Debug for BorrowError
impl Debug for BorrowMutError
impl Debug for Args
impl Debug for ArgsOs
impl Debug for JoinPathsError
impl Debug for SplitPaths<'_>
impl Debug for Vars
impl Debug for VarsOs
impl Debug for Arguments<'_>
impl Debug for wiwi::prelude_std::fmt::Error
impl Debug for DefaultHasher
impl Debug for wiwi::prelude_std::hash::RandomState
impl Debug for SipHasher
impl Debug for UnorderedKeyError
impl Debug for alloc::collections::TryReserveError
impl Debug for CString
impl Debug for FromVecWithNulError
impl Debug for IntoStringError
impl Debug for NulError
impl Debug for core::ascii::EscapeDefault
impl Debug for CharTryFromError
impl Debug for ParseCharError
impl Debug for DecodeUtf16Error
impl Debug for core::char::EscapeDebug
impl Debug for core::char::EscapeDefault
impl Debug for core::char::EscapeUnicode
impl Debug for ToLowercase
impl Debug for ToUppercase
impl Debug for TryFromCharError
impl Debug for CpuidResult
impl Debug for __m128
impl Debug for __m128bh
impl Debug for __m128d
impl Debug for __m128h
impl Debug for __m128i
impl Debug for __m256
impl Debug for __m256bh
impl Debug for __m256d
impl Debug for __m256h
impl Debug for __m256i
impl Debug for __m512
impl Debug for __m512bh
impl Debug for __m512d
impl Debug for __m512h
impl Debug for __m512i
impl Debug for bf16
impl Debug for CStr
impl Debug for FromBytesUntilNulError
impl Debug for FromBytesWithNulError
impl Debug for BorrowedBuf<'_>
impl Debug for Ipv4Addr
impl Debug for Ipv6Addr
impl Debug for AddrParseError
impl Debug for SocketAddrV4
impl Debug for SocketAddrV6
impl Debug for core::num::dec2flt::ParseFloatError
impl Debug for ParseIntError
impl Debug for TryFromIntError
impl Debug for PanicMessage<'_>
impl Debug for Context<'_>
impl Debug for LocalWaker
impl Debug for RawWaker
impl Debug for RawWakerVTable
impl Debug for core::task::wake::Waker
impl Debug for Duration
impl Debug for TryFromFloatSecsError
impl Debug for Backtrace
impl Debug for BacktraceFrame
impl Debug for std::ffi::os_str::Display<'_>
impl Debug for OsStr
impl Debug for OsString
impl Debug for std::fs::DirBuilder
impl Debug for std::fs::DirEntry
impl Debug for std::fs::File
impl Debug for FileTimes
impl Debug for FileType
impl Debug for Metadata
impl Debug for std::fs::OpenOptions
impl Debug for Permissions
impl Debug for std::fs::ReadDir
impl Debug for WriterPanicked
impl Debug for std::io::error::Error
impl Debug for std::io::stdio::Stderr
impl Debug for StderrLock<'_>
impl Debug for std::io::stdio::Stdin
impl Debug for StdinLock<'_>
impl Debug for std::io::stdio::Stdout
impl Debug for StdoutLock<'_>
impl Debug for std::io::util::Empty
impl Debug for std::io::util::Repeat
impl Debug for std::io::util::Sink
impl Debug for IntoIncoming
impl Debug for std::net::tcp::TcpListener
impl Debug for std::net::tcp::TcpStream
impl Debug for std::net::udp::UdpSocket
impl Debug for BorrowedFd<'_>
impl Debug for OwnedFd
impl Debug for PidFd
impl Debug for std::os::unix::net::addr::SocketAddr
impl Debug for std::os::unix::net::datagram::UnixDatagram
impl Debug for std::os::unix::net::listener::UnixListener
impl Debug for std::os::unix::net::stream::UnixStream
impl Debug for std::os::unix::net::ucred::UCred
impl Debug for Components<'_>
impl Debug for std::path::Display<'_>
impl Debug for std::path::Iter<'_>
impl Debug for Path
impl Debug for PathBuf
impl Debug for StripPrefixError
impl Debug for PipeReader
impl Debug for PipeWriter
impl Debug for std::process::Child
impl Debug for std::process::ChildStderr
impl Debug for std::process::ChildStdin
impl Debug for std::process::ChildStdout
impl Debug for std::process::Command
impl Debug for ExitCode
impl Debug for ExitStatus
impl Debug for ExitStatusError
impl Debug for Output
impl Debug for Stdio
impl Debug for DefaultRandomSource
impl Debug for std::sync::barrier::Barrier
impl Debug for std::sync::barrier::BarrierWaitResult
impl Debug for std::sync::condvar::Condvar
impl Debug for std::sync::condvar::WaitTimeoutResult
impl Debug for std::sync::mpsc::RecvError
impl Debug for std::sync::once::Once
impl Debug for std::sync::once::OnceState
impl Debug for AccessError
impl Debug for Scope<'_, '_>
impl Debug for std::thread::Builder
impl Debug for Thread
impl Debug for ThreadId
impl Debug for std::time::Instant
impl Debug for SystemTime
impl Debug for SystemTimeError
impl Debug for Parsed
impl Debug for InternalFixed
impl Debug for InternalNumeric
impl Debug for OffsetFormat
impl Debug for ParseError
impl Debug for Months
impl Debug for ParseMonthError
impl Debug for NaiveDate
The Debug
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");
impl Debug for NaiveDateDaysIterator
impl Debug for NaiveDateWeeksIterator
impl Debug for NaiveDateTime
The Debug
output of the naive date and time dt
is the same as
dt.format("%Y-%m-%dT%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::NaiveDate;
let dt = NaiveDate::from_ymd_opt(2016, 11, 15).unwrap().and_hms_opt(7, 39, 24).unwrap();
assert_eq!(format!("{:?}", dt), "2016-11-15T07: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-30T23:59:60.500");
impl Debug for IsoWeek
The Debug
output of the ISO week w
is the same as
d.format("%G-W%V")
where d
is any NaiveDate
value in that week.
§Example
use chrono::{Datelike, NaiveDate};
assert_eq!(
format!("{:?}", NaiveDate::from_ymd_opt(2015, 9, 5).unwrap().iso_week()),
"2015-W36"
);
assert_eq!(format!("{:?}", NaiveDate::from_ymd_opt(0, 1, 3).unwrap().iso_week()), "0000-W01");
assert_eq!(
format!("{:?}", NaiveDate::from_ymd_opt(9999, 12, 31).unwrap().iso_week()),
"9999-W52"
);
ISO 8601 requires an explicit sign for years before 1 BCE or after 9999 CE.
assert_eq!(format!("{:?}", NaiveDate::from_ymd_opt(0, 1, 2).unwrap().iso_week()), "-0001-W52");
assert_eq!(
format!("{:?}", NaiveDate::from_ymd_opt(10000, 12, 31).unwrap().iso_week()),
"+10000-W52"
);
impl Debug for Days
impl Debug for NaiveWeek
impl Debug for NaiveTime
The Debug
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"
);
impl Debug for FixedOffset
impl Debug for Local
impl Debug for Utc
impl Debug for OutOfRange
impl Debug for OutOfRangeError
impl Debug for TimeDelta
impl Debug for ParseWeekdayError
impl Debug for num_traits::ParseFloatError
impl Debug for Assume
impl Debug for RangeFull
impl Debug for wiwi::prelude_std::ptr::Alignment
impl Debug for Chars<'_>
impl Debug for EncodeUtf16<'_>
impl Debug for ParseBoolError
impl Debug for Utf8Chunks<'_>
impl Debug for Utf8Error
impl Debug for wiwi::prelude_std::string::Drain<'_>
impl Debug for FromUtf8Error
impl Debug for FromUtf16Error
impl Debug for AtomicBool
impl Debug for AtomicI8
impl Debug for AtomicI16
impl Debug for AtomicI32
impl Debug for AtomicI64
impl Debug for AtomicIsize
impl Debug for AtomicU8
impl Debug for AtomicU16
impl Debug for AtomicU32
impl Debug for AtomicU64
impl Debug for AtomicUsize
impl Debug for PhantomPinned
impl Debug for String
impl Debug for TypeId
impl Debug for AbortHandle
impl Debug for AcquireError
impl Debug for AllocError
impl Debug for Barrier
impl Debug for BarrierWaitResult
impl Debug for Builder
impl Debug for Bytes
impl Debug for BytesMut
impl Debug for Child
impl Debug for ChildStderr
impl Debug for ChildStdin
impl Debug for ChildStdout
impl Debug for CollectionAllocErr
impl Debug for Command
impl Debug for Condvar
impl Debug for DirBuilder
impl Debug for DirEntry
impl Debug for Domain
impl Debug for DuplexStream
impl Debug for Elapsed
impl Debug for Empty
impl Debug for Error
impl Debug for Event
When the alternate flag is enabled this will print platform specific
details, for example the fields of the kevent
structure on platforms that
use kqueue(2)
. Note however that the output of this implementation is
not consider a part of the stable API.
impl Debug for Events
impl Debug for File
impl Debug for FilterOp
impl Debug for FixedState
impl Debug for FixedState
impl Debug for GetTimezoneError
impl Debug for Global
impl Debug for Handle
impl Debug for Id
impl Debug for Instant
impl Debug for Interest
impl Debug for Interest
impl Debug for InterfaceIndexOrAddress
impl Debug for Interval
impl Debug for JoinError
impl Debug for LocalEnterGuard
impl Debug for LocalSet
impl Debug for MissedTickBehavior
impl Debug for Notify
impl Debug for Once
impl Debug for OnceState
impl Debug for OpenOptions
impl Debug for OpenOptions
impl Debug for OwnedReadHalf
impl Debug for OwnedReadHalf
impl Debug for OwnedSemaphorePermit
impl Debug for OwnedWriteHalf
impl Debug for OwnedWriteHalf
impl Debug for ParkResult
impl Debug for ParkToken
impl Debug for Poll
impl Debug for Protocol
impl Debug for RandomState
impl Debug for RandomState
impl Debug for ReadBuf<'_>
impl Debug for ReadDir
impl Debug for Ready
impl Debug for Receiver
impl Debug for Receiver
impl Debug for RecvError
impl Debug for RecvError
impl Debug for RecvError
impl Debug for RecvFlags
impl Debug for Registry
impl Debug for Repeat
impl Debug for RequeueOp
impl Debug for ReuniteError
impl Debug for ReuniteError
impl Debug for Runtime
impl Debug for RuntimeFlavor
impl Debug for RuntimeMetrics
impl Debug for Semaphore
impl Debug for Sender
impl Debug for Sender
impl Debug for SigId
impl Debug for Signal
impl Debug for SignalKind
impl Debug for SimplexStream
impl Debug for Sink
impl Debug for Sleep
impl Debug for SockAddr
impl Debug for SockRef<'_>
impl Debug for Socket
impl Debug for SocketAddr
impl Debug for Stderr
impl Debug for Stdin
impl Debug for Stdout
impl Debug for TcpKeepalive
impl Debug for TcpListener
impl Debug for TcpListener
impl Debug for TcpSocket
impl Debug for TcpStream
impl Debug for TcpStream
impl Debug for Token
impl Debug for TryAcquireError
impl Debug for TryCurrentError
impl Debug for TryIoError
impl Debug for TryLockError
impl Debug for TryRecvError
impl Debug for TryRecvError
impl Debug for TryRecvError
impl Debug for TryReserveError
impl Debug for TryReserveError
impl Debug for TryReserveErrorKind
impl Debug for Type
impl Debug for UCred
impl Debug for UdpSocket
impl Debug for UdpSocket
impl Debug for UninitSlice
impl Debug for UnixDatagram
impl Debug for UnixDatagram
impl Debug for UnixListener
impl Debug for UnixListener
impl Debug for UnixSocket
impl Debug for UnixStream
impl Debug for UnixStream
impl Debug for UnparkResult
impl Debug for UnparkToken
impl Debug for WaitTimeoutResult
impl Debug for Waker
impl Debug for dyn Any
impl Debug for dyn Any + Send
impl Debug for dyn Any + Sync + Send
impl<'a> Debug for Component<'a>
impl<'a> Debug for Prefix<'a>
impl<'a> Debug for Item<'a>
impl<'a> Debug for Utf8Pattern<'a>
impl<'a> Debug for Request<'a>
impl<'a> Debug for Source<'a>
impl<'a> Debug for core::ffi::c_str::Bytes<'a>
impl<'a> Debug for BorrowedCursor<'a>
impl<'a> Debug for PanicInfo<'a>
impl<'a> Debug for ContextBuilder<'a>
impl<'a> Debug for IoSlice<'a>
impl<'a> Debug for IoSliceMut<'a>
impl<'a> Debug for std::net::tcp::Incoming<'a>
impl<'a> Debug for SocketAncillary<'a>
impl<'a> Debug for std::os::unix::net::listener::Incoming<'a>
impl<'a> Debug for Ancestors<'a>
impl<'a> Debug for PrefixComponent<'a>
impl<'a> Debug for CommandArgs<'a>
impl<'a> Debug for CommandEnvs<'a>
impl<'a> Debug for StrftimeItems<'a>
impl<'a> Debug for Location<'a>
impl<'a> Debug for PanicHookInfo<'a>
impl<'a> Debug for EscapeAscii<'a>
impl<'a> Debug for CharSearcher<'a>
impl<'a> Debug for wiwi::prelude_std::str::Bytes<'a>
impl<'a> Debug for CharIndices<'a>
impl<'a> Debug for wiwi::prelude_std::str::EscapeDebug<'a>
impl<'a> Debug for wiwi::prelude_std::str::EscapeDefault<'a>
impl<'a> Debug for wiwi::prelude_std::str::EscapeUnicode<'a>
impl<'a> Debug for wiwi::prelude_std::str::Lines<'a>
impl<'a> Debug for LinesAny<'a>
impl<'a> Debug for SplitAsciiWhitespace<'a>
impl<'a> Debug for SplitWhitespace<'a>
impl<'a> Debug for Utf8Chunk<'a>
impl<'a> Debug for EnterGuard<'a>
impl<'a> Debug for Iter<'a>
impl<'a> Debug for MaybeUninitSlice<'a>
impl<'a> Debug for Notified<'a>
impl<'a> Debug for ReadHalf<'a>
impl<'a> Debug for ReadHalf<'a>
impl<'a> Debug for SemaphorePermit<'a>
impl<'a> Debug for SourceFd<'a>
impl<'a> Debug for WriteHalf<'a>
impl<'a> Debug for WriteHalf<'a>
impl<'a, 'b> Debug for CharSliceSearcher<'a, 'b>
impl<'a, 'b> Debug for StrSearcher<'a, 'b>
impl<'a, 'b, const N: usize> Debug for CharArrayRefSearcher<'a, 'b, N>
impl<'a, 'f> Debug for VaList<'a, 'f>where
'f: 'a,
impl<'a, A> Debug for wiwi::prelude_std::option::Iter<'a, A>where
A: Debug + 'a,
impl<'a, A> Debug for wiwi::prelude_std::option::IterMut<'a, A>where
A: Debug + 'a,
impl<'a, I> Debug for ByRefSized<'a, I>where
I: Debug,
impl<'a, I, A> Debug for wiwi::prelude_std::vec::Splice<'a, I, A>
impl<'a, I, A> Debug for Splice<'a, I, A>
impl<'a, K, F> Debug for std::collections::hash::set::ExtractIf<'a, K, F>
impl<'a, K, V, F> Debug for std::collections::hash::map::ExtractIf<'a, K, V, F>
impl<'a, P> Debug for MatchIndices<'a, P>
impl<'a, P> Debug for Matches<'a, P>
impl<'a, P> Debug for RMatchIndices<'a, P>
impl<'a, P> Debug for RMatches<'a, P>
impl<'a, P> Debug for wiwi::prelude_std::str::RSplit<'a, P>
impl<'a, P> Debug for wiwi::prelude_std::str::RSplitN<'a, P>
impl<'a, P> Debug for RSplitTerminator<'a, P>
impl<'a, P> Debug for wiwi::prelude_std::str::Split<'a, P>
impl<'a, P> Debug for wiwi::prelude_std::str::SplitInclusive<'a, P>
impl<'a, P> Debug for wiwi::prelude_std::str::SplitN<'a, P>
impl<'a, P> Debug for SplitTerminator<'a, P>
impl<'a, R, G, T> Debug for MappedReentrantMutexGuard<'a, R, G, T>
impl<'a, R, G, T> Debug for ReentrantMutexGuard<'a, R, G, T>
impl<'a, R, T> Debug for MappedMutexGuard<'a, R, T>
impl<'a, R, T> Debug for MappedRwLockReadGuard<'a, R, T>
impl<'a, R, T> Debug for MappedRwLockWriteGuard<'a, R, T>
impl<'a, R, T> Debug for MutexGuard<'a, R, T>
impl<'a, R, T> Debug for RwLockReadGuard<'a, R, T>
impl<'a, R, T> Debug for RwLockUpgradableReadGuard<'a, R, T>
impl<'a, R, T> Debug for RwLockWriteGuard<'a, R, T>
impl<'a, T> Debug for alloc::collections::btree::set::Range<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for std::sync::mpmc::Iter<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for std::sync::mpmc::TryIter<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for std::sync::mpsc::Iter<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for std::sync::mpsc::TryIter<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for wiwi::prelude_std::result::Iter<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for wiwi::prelude_std::result::IterMut<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for Chunks<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for ChunksExact<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for ChunksExactMut<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for ChunksMut<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for RChunks<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for RChunksExact<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for RChunksExactMut<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for RChunksMut<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for Windows<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for AsyncFdReadyGuard<'a, T>
impl<'a, T> Debug for AsyncFdReadyMutGuard<'a, T>
impl<'a, T> Debug for Drain<'a, T>where
T: 'a + Array,
<T as Array>::Item: Debug,
impl<'a, T> Debug for MappedMutexGuard<'a, T>
impl<'a, T> Debug for Ref<'a, T>where
T: Debug,
impl<'a, T> Debug for RwLockMappedWriteGuard<'a, T>
impl<'a, T> Debug for RwLockReadGuard<'a, T>
impl<'a, T> Debug for RwLockWriteGuard<'a, T>
impl<'a, T, A> Debug for alloc::collections::binary_heap::Drain<'a, T, A>
impl<'a, T, A> Debug for DrainSorted<'a, T, A>
impl<'a, T, F, A> Debug for wiwi::prelude_std::vec::ExtractIf<'a, T, F, A>
impl<'a, T, P> Debug for ChunkBy<'a, T, P>where
T: 'a + Debug,
impl<'a, T, P> Debug for ChunkByMut<'a, T, P>where
T: 'a + Debug,
impl<'a, T, const N: usize> Debug for wiwi::prelude_std::slice::ArrayChunks<'a, T, N>where
T: Debug + 'a,
impl<'a, T, const N: usize> Debug for ArrayChunksMut<'a, T, N>where
T: Debug + 'a,
impl<'a, T, const N: usize> Debug for ArrayWindows<'a, T, N>where
T: Debug + 'a,
impl<'a, const N: usize> Debug for CharArraySearcher<'a, N>
impl<'f> Debug for VaListImpl<'f>
impl<'name, 'bufs, 'control> Debug for MsgHdr<'name, 'bufs, 'control>
impl<'name, 'bufs, 'control> Debug for MsgHdrMut<'name, 'bufs, 'control>
impl<'scope, T> Debug for ScopedJoinHandle<'scope, T>
impl<A> Debug for IterRange<A>where
A: Debug,
impl<A> Debug for IterRangeFrom<A>where
A: Debug,
impl<A> Debug for IterRangeInclusive<A>where
A: Debug,
impl<A> Debug for wiwi::prelude_std::iter::Repeat<A>where
A: Debug,
impl<A> Debug for RepeatN<A>where
A: Debug,
impl<A> Debug for wiwi::prelude_std::option::IntoIter<A>where
A: Debug,
impl<A> Debug for IntoIter<A>where
A: Array,
<A as Array>::Item: Debug,
impl<A> Debug for SmallVec<A>where
A: Array,
<A as Array>::Item: Debug,
impl<A, B> Debug for wiwi::prelude_std::iter::Chain<A, B>
impl<A, B> Debug for Zip<A, B>
impl<B> Debug for Cow<'_, B>
impl<B> Debug for std::io::Lines<B>where
B: Debug,
impl<B> Debug for std::io::Split<B>where
B: Debug,
impl<B> Debug for Reader<B>where
B: Debug,
impl<B> Debug for Writer<B>where
B: Debug,
impl<B, C> Debug for ControlFlow<B, C>
impl<Dyn> Debug for DynMetadata<Dyn>where
Dyn: ?Sized,
impl<E> Debug for Report<E>
impl<E: Debug> Debug for wiwi::parser::Error<E>
impl<F> Debug for wiwi::prelude_std::fmt::FromFn<F>
impl<F> Debug for PollFn<F>
impl<F> Debug for wiwi::prelude_std::iter::FromFn<F>
impl<F> Debug for OnceWith<F>
impl<F> Debug for RepeatWith<F>
impl<F> Debug for CharPredicateSearcher<'_, F>
impl<F> Debug for Fwhere
F: FnPtr,
impl<H> Debug for BuildHasherDefault<H>
impl<I> Debug for FromIter<I>where
I: Debug,
impl<I> Debug for DecodeUtf16<I>
impl<I> Debug for DelayedFormat<I>where
I: Debug,
impl<I> Debug for Cloned<I>where
I: Debug,
impl<I> Debug for Copied<I>where
I: Debug,
impl<I> Debug for Cycle<I>where
I: Debug,
impl<I> Debug for Enumerate<I>where
I: Debug,
impl<I> Debug for Fuse<I>where
I: Debug,
impl<I> Debug for Intersperse<I>
impl<I> Debug for Peekable<I>
impl<I> Debug for Skip<I>where
I: Debug,
impl<I> Debug for StepBy<I>where
I: Debug,
impl<I> Debug for wiwi::prelude_std::iter::Take<I>where
I: Debug,
impl<I, F> Debug for FilterMap<I, F>where
I: Debug,
impl<I, F> Debug for Inspect<I, F>where
I: Debug,
impl<I, F> Debug for Map<I, F>where
I: Debug,
impl<I, F, const N: usize> Debug for MapWindows<I, F, N>
impl<I, G> Debug for IntersperseWith<I, G>
impl<I, P> Debug for Filter<I, P>where
I: Debug,
impl<I, P> Debug for MapWhile<I, P>where
I: Debug,
impl<I, P> Debug for SkipWhile<I, P>where
I: Debug,
impl<I, P> Debug for TakeWhile<I, P>where
I: Debug,
impl<I, St, F> Debug for Scan<I, St, F>
impl<I, U> Debug for Flatten<I>
impl<I, U, F> Debug for FlatMap<I, U, F>
impl<I, const N: usize> Debug for wiwi::prelude_std::iter::ArrayChunks<I, N>
impl<Idx> Debug for core::range::Range<Idx>where
Idx: Debug,
impl<Idx> Debug for core::range::RangeFrom<Idx>where
Idx: Debug,
impl<Idx> Debug for core::range::RangeInclusive<Idx>where
Idx: Debug,
impl<Idx> Debug for wiwi::prelude_std::ops::Range<Idx>where
Idx: Debug,
impl<Idx> Debug for wiwi::prelude_std::ops::RangeFrom<Idx>where
Idx: Debug,
impl<Idx> Debug for wiwi::prelude_std::ops::RangeInclusive<Idx>where
Idx: Debug,
impl<Idx> Debug for RangeTo<Idx>where
Idx: Debug,
impl<Idx> Debug for RangeToInclusive<Idx>where
Idx: Debug,
impl<K> Debug for alloc::collections::btree::set::Cursor<'_, K>where
K: Debug,
impl<K> Debug for std::collections::hash::set::Drain<'_, K>where
K: Debug,
impl<K> Debug for std::collections::hash::set::IntoIter<K>where
K: Debug,
impl<K> Debug for std::collections::hash::set::Iter<'_, K>where
K: Debug,
impl<K> Debug for Iter<'_, K>where
K: Debug,
impl<K, A> Debug for alloc::collections::btree::set::CursorMut<'_, K, A>where
K: Debug,
impl<K, A> Debug for alloc::collections::btree::set::CursorMutKey<'_, K, A>where
K: Debug,
impl<K, A> Debug for Drain<'_, K, A>where
K: Debug,
A: Allocator,
impl<K, A> Debug for IntoIter<K, A>where
K: Debug,
A: Allocator,
impl<K, Q, V, S, A> Debug for EntryRef<'_, '_, K, Q, V, S, A>
impl<K, Q, V, S, A> Debug for VacantEntryRef<'_, '_, K, Q, V, S, A>
impl<K, V> Debug for std::collections::hash::map::Entry<'_, K, V>
impl<K, V> Debug for alloc::collections::btree::map::Cursor<'_, K, V>
impl<K, V> Debug for alloc::collections::btree::map::Iter<'_, K, V>
impl<K, V> Debug for alloc::collections::btree::map::IterMut<'_, K, V>
impl<K, V> Debug for alloc::collections::btree::map::Keys<'_, K, V>where
K: Debug,
impl<K, V> Debug for alloc::collections::btree::map::Range<'_, K, V>
impl<K, V> Debug for RangeMut<'_, K, V>
impl<K, V> Debug for alloc::collections::btree::map::Values<'_, K, V>where
V: Debug,
impl<K, V> Debug for alloc::collections::btree::map::ValuesMut<'_, K, V>where
V: Debug,
impl<K, V> Debug for std::collections::hash::map::Drain<'_, K, V>
impl<K, V> Debug for std::collections::hash::map::IntoIter<K, V>
impl<K, V> Debug for std::collections::hash::map::IntoKeys<K, V>where
K: Debug,
impl<K, V> Debug for std::collections::hash::map::IntoValues<K, V>where
V: Debug,
impl<K, V> Debug for std::collections::hash::map::Iter<'_, K, V>
impl<K, V> Debug for std::collections::hash::map::IterMut<'_, K, V>
impl<K, V> Debug for std::collections::hash::map::Keys<'_, K, V>where
K: Debug,
impl<K, V> Debug for std::collections::hash::map::OccupiedEntry<'_, K, V>
impl<K, V> Debug for std::collections::hash::map::OccupiedError<'_, K, V>
impl<K, V> Debug for std::collections::hash::map::VacantEntry<'_, K, V>where
K: Debug,
impl<K, V> Debug for std::collections::hash::map::Values<'_, K, V>where
V: Debug,
impl<K, V> Debug for std::collections::hash::map::ValuesMut<'_, K, V>where
V: Debug,
impl<K, V> Debug for Iter<'_, K, V>
impl<K, V> Debug for IterMut<'_, K, V>
impl<K, V> Debug for Keys<'_, K, V>where
K: Debug,
impl<K, V> Debug for Values<'_, K, V>where
V: Debug,
impl<K, V> Debug for ValuesMut<'_, K, V>where
V: Debug,
impl<K, V, A> Debug for alloc::collections::btree::map::entry::Entry<'_, K, V, A>
impl<K, V, A> Debug for alloc::collections::btree::map::entry::OccupiedEntry<'_, K, V, A>
impl<K, V, A> Debug for alloc::collections::btree::map::entry::OccupiedError<'_, K, V, A>
impl<K, V, A> Debug for alloc::collections::btree::map::entry::VacantEntry<'_, K, V, A>
impl<K, V, A> Debug for BTreeMap<K, V, A>
impl<K, V, A> Debug for alloc::collections::btree::map::CursorMut<'_, K, V, A>
impl<K, V, A> Debug for alloc::collections::btree::map::CursorMutKey<'_, K, V, A>
impl<K, V, A> Debug for alloc::collections::btree::map::IntoIter<K, V, A>
impl<K, V, A> Debug for alloc::collections::btree::map::IntoKeys<K, V, A>
impl<K, V, A> Debug for alloc::collections::btree::map::IntoValues<K, V, A>
impl<K, V, A> Debug for Drain<'_, K, V, A>
impl<K, V, A> Debug for IntoIter<K, V, A>
impl<K, V, A> Debug for IntoKeys<K, V, A>
impl<K, V, A> Debug for IntoValues<K, V, A>where
V: Debug,
A: Allocator,
impl<K, V, F> Debug for alloc::collections::btree::map::ExtractIf<'_, K, V, F>
impl<K, V, S> Debug for std::collections::hash::map::RawEntryMut<'_, K, V, S>
impl<K, V, S> Debug for std::collections::hash::map::HashMap<K, V, S>
impl<K, V, S> Debug for std::collections::hash::map::RawEntryBuilder<'_, K, V, S>
impl<K, V, S> Debug for std::collections::hash::map::RawEntryBuilderMut<'_, K, V, S>
impl<K, V, S> Debug for std::collections::hash::map::RawOccupiedEntryMut<'_, K, V, S>
impl<K, V, S> Debug for std::collections::hash::map::RawVacantEntryMut<'_, K, V, S>
impl<K, V, S, A> Debug for Entry<'_, K, V, S, A>
impl<K, V, S, A> Debug for HashMap<K, V, S, A>
impl<K, V, S, A> Debug for OccupiedEntry<'_, K, V, S, A>
impl<K, V, S, A> Debug for OccupiedError<'_, K, V, S, A>
impl<K, V, S, A> Debug for RawEntryBuilder<'_, K, V, S, A>where
A: Allocator,
impl<K, V, S, A> Debug for RawEntryBuilderMut<'_, K, V, S, A>where
A: Allocator,
impl<K, V, S, A> Debug for RawEntryMut<'_, K, V, S, A>
impl<K, V, S, A> Debug for RawOccupiedEntryMut<'_, K, V, S, A>
impl<K, V, S, A> Debug for RawVacantEntryMut<'_, K, V, S, A>where
A: Allocator,
impl<K, V, S, A> Debug for VacantEntry<'_, K, V, S, A>where
K: Debug,
A: Allocator,
impl<Ptr> Debug for Pin<Ptr>where
Ptr: Debug,
impl<R> Debug for std::io::buffered::bufreader::BufReader<R>
impl<R> Debug for std::io::Bytes<R>where
R: Debug,
impl<R> Debug for BufReader<R>where
R: Debug,
impl<R> Debug for Lines<R>where
R: Debug,
impl<R> Debug for Split<R>where
R: Debug,
impl<R> Debug for Take<R>where
R: Debug,
impl<R, G, T> Debug for ReentrantMutex<R, G, T>
impl<R, T> Debug for Mutex<R, T>
impl<R, T> Debug for RwLock<R, T>
impl<R, W> Debug for Join<R, W>
impl<RW> Debug for BufStream<RW>where
RW: Debug,
impl<T> Debug for Option<T>where
T: Debug,
impl<T> Debug for core::task::poll::Poll<T>where
T: Debug,
impl<T> Debug for std::sync::mpmc::error::SendTimeoutError<T>
impl<T> Debug for std::sync::mpsc::TrySendError<T>
impl<T> Debug for std::sync::poison::TryLockError<T>
impl<T> Debug for LocalResult<T>where
T: Debug,
impl<T> Debug for Bound<T>where
T: Debug,
impl<T> Debug for *const Twhere
T: ?Sized,
impl<T> Debug for *mut Twhere
T: ?Sized,
impl<T> Debug for &T
impl<T> Debug for &mut T
impl<T> Debug for [T]where
T: Debug,
impl<T> Debug for (T₁, T₂, …, Tₙ)
This trait is implemented for tuples up to twelve items long.