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 graphql_federated_graph::directives::Directive
impl Debug for Definition
impl Debug for EntityDefinitionId
impl Debug for OverrideLabel
impl Debug for OverrideSource
impl Debug for graphql_federated_graph::Selection
impl Debug for graphql_federated_graph::Value
impl Debug for Purpose
impl Debug for graphql_federated_graph::fmt::Alignment
impl Debug for DebugAsHex
impl Debug for Sign
impl Debug for TryReserveErrorKind
impl Debug for AsciiChar
impl Debug for core::cmp::Ordering
impl Debug for Infallible
impl Debug for FromBytesWithNulError
impl Debug for c_void
impl Debug for AtomicOrdering
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 core::slice::GetDisjointMutError
impl Debug for SearchStep
impl Debug for core::sync::atomic::Ordering
impl Debug for BacktraceStatus
impl Debug for VarError
impl Debug for std::fs::TryLockError
impl Debug for SeekFrom
impl Debug for ErrorKind
impl Debug for Shutdown
impl Debug for AncillaryError
impl Debug for BacktraceStyle
impl Debug for RecvTimeoutError
impl Debug for TryRecvError
impl Debug for cynic_parser_deser::error::Error
impl Debug for ValueType
impl Debug for OperationType
impl Debug for MalformedStringError
impl Debug for cynic_parser::common::types::WrappingType
impl Debug for cynic_parser::errors::Error
impl Debug for DirectiveLocation
impl Debug for StringLiteralKind
impl Debug for ListWrapping
impl Debug for graphql_wrapping_types::WrappingType
impl Debug for hashbrown::TryReserveError
impl Debug for indexmap::GetDisjointMutError
impl Debug for Position
impl Debug for PrefilterConfig
impl Debug for Category
impl Debug for serde_json::value::Value
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 AuthorizedDirective
impl Debug for ExtensionDirective
impl Debug for ExtensionLinkDirective
impl Debug for ExtensionLinkSchemaDirective
impl Debug for JoinEnumValueDirective
impl Debug for JoinFieldDirective
impl Debug for JoinGraphDirective
impl Debug for JoinImplementsDirective
impl Debug for JoinTypeDirective
impl Debug for JoinUnionMemberDirective
impl Debug for ListSizeDirective
impl Debug for DirectiveDefinitionArgument
impl Debug for graphql_federated_graph::DirectiveDefinitionId
impl Debug for DirectiveDefinitionRecord
impl Debug for DirectiveLocations
impl Debug for DomainError
impl Debug for graphql_federated_graph::EnumDefinitionId
impl Debug for EnumDefinitionRecord
impl Debug for EnumValueId
impl Debug for EnumValueRecord
impl Debug for Extension
impl Debug for ExtensionId
impl Debug for FederatedGraph
impl Debug for Field
impl Debug for graphql_federated_graph::FieldId
impl Debug for graphql_federated_graph::FieldSelection
impl Debug for InputObject
impl Debug for InputObjectId
impl Debug for graphql_federated_graph::InputValueDefinition
impl Debug for graphql_federated_graph::InputValueDefinitionId
impl Debug for InputValueDefinitionSetItem
impl Debug for Interface
impl Debug for InterfaceId
impl Debug for Key
impl Debug for ListSize
impl Debug for graphql_federated_graph::Object
impl Debug for ObjectId
impl Debug for RootOperationTypes
impl Debug for graphql_federated_graph::ScalarDefinitionId
impl Debug for ScalarDefinitionRecord
impl Debug for SelectionSet
impl Debug for graphql_federated_graph::StringId
impl Debug for Subgraph
impl Debug for SubgraphId
impl Debug for graphql_federated_graph::Type
impl Debug for graphql_federated_graph::Union
impl Debug for UnionId
impl Debug for ViewNested<'_, EnumDefinitionId, EnumDefinitionRecord>
impl Debug for ViewNested<'_, ScalarDefinitionId, ScalarDefinitionRecord>
impl Debug for graphql_federated_graph::Wrapping
impl Debug for Global
impl Debug for ByteString
impl Debug for UnorderedKeyError
impl Debug for alloc::collections::TryReserveError
impl Debug for CString
Delegates to the CStr
implementation of fmt::Debug
,
showing invalid UTF-8 as hex escapes.
impl Debug for FromVecWithNulError
impl Debug for IntoStringError
impl Debug for NulError
impl Debug for alloc::string::Drain<'_>
impl Debug for FromUtf8Error
impl Debug for FromUtf16Error
impl Debug for IntoChars
impl Debug for String
impl Debug for Layout
impl Debug for LayoutError
impl Debug for AllocError
impl Debug for core::any::TypeId
impl Debug for TryFromSliceError
impl Debug for core::ascii::EscapeDefault
impl Debug for ByteStr
impl Debug for BorrowError
impl Debug for BorrowMutError
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
Shows the underlying bytes as a normal string, with invalid UTF-8 presented as hex escape sequences.
impl Debug for FromBytesUntilNulError
impl Debug for SipHasher
impl Debug for BorrowedBuf<'_>
impl Debug for PhantomPinned
impl Debug for PhantomContravariantLifetime<'_>
impl Debug for PhantomCovariantLifetime<'_>
impl Debug for PhantomInvariantLifetime<'_>
impl Debug for Assume
impl Debug for Ipv4Addr
impl Debug for Ipv6Addr
impl Debug for AddrParseError
impl Debug for SocketAddrV4
impl Debug for SocketAddrV6
impl Debug for ParseFloatError
impl Debug for ParseIntError
impl Debug for TryFromIntError
impl Debug for RangeFull
impl Debug for Location<'_>
impl Debug for PanicMessage<'_>
impl Debug for core::ptr::alignment::Alignment
impl Debug for ParseBoolError
impl Debug for Utf8Error
impl Debug for Chars<'_>
impl Debug for EncodeUtf16<'_>
impl Debug for Utf8Chunks<'_>
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 Context<'_>
impl Debug for LocalWaker
impl Debug for RawWaker
impl Debug for RawWakerVTable
impl Debug for Waker
impl Debug for Duration
impl Debug for TryFromFloatSecsError
impl Debug for System
impl Debug for Backtrace
impl Debug for BacktraceFrame
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 std::ffi::os_str::Display<'_>
impl Debug for OsStr
impl Debug for OsString
impl Debug for DirBuilder
impl Debug for DirEntry
impl Debug for File
impl Debug for FileTimes
impl Debug for FileType
impl Debug for Metadata
impl Debug for OpenOptions
impl Debug for Permissions
impl Debug for ReadDir
impl Debug for DefaultHasher
impl Debug for RandomState
impl Debug for WriterPanicked
impl Debug for std::io::error::Error
impl Debug for PipeReader
impl Debug for PipeWriter
impl Debug for Stderr
impl Debug for StderrLock<'_>
impl Debug for Stdin
impl Debug for StdinLock<'_>
impl Debug for Stdout
impl Debug for StdoutLock<'_>
impl Debug for std::io::util::Empty
impl Debug for std::io::util::Repeat
impl Debug for Sink
impl Debug for IntoIncoming
impl Debug for TcpListener
impl Debug for TcpStream
impl Debug for 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 UnixDatagram
impl Debug for UnixListener
impl Debug for UnixStream
impl Debug for UCred
impl Debug for Components<'_>
impl Debug for std::path::Display<'_>
impl Debug for std::path::Iter<'_>
impl Debug for NormalizeError
impl Debug for Path
impl Debug for PathBuf
impl Debug for StripPrefixError
impl Debug for Child
impl Debug for ChildStderr
impl Debug for ChildStdin
impl Debug for ChildStdout
impl Debug for 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 Barrier
impl Debug for BarrierWaitResult
impl Debug for RecvError
impl Debug for Condvar
impl Debug for WaitTimeoutResult
impl Debug for std::sync::poison::once::Once
impl Debug for OnceState
impl Debug for AccessError
impl Debug for Scope<'_, '_>
impl Debug for Builder
impl Debug for Thread
impl Debug for ThreadId
impl Debug for Instant
impl Debug for SystemTime
impl Debug for SystemTimeError
impl Debug for bitflags::parser::ParseError
impl Debug for cynic_parser_deser::value::enums::EnumValue<'_>
impl Debug for cynic_parser_deser::value::lists::List<'_>
impl Debug for cynic_parser_deser::value::objects::Object<'_>
impl Debug for cynic_parser_deser::value::scalars::BooleanValue
impl Debug for cynic_parser_deser::value::scalars::FloatValue
impl Debug for cynic_parser_deser::value::scalars::IntValue
impl Debug for cynic_parser_deser::value::scalars::NullValue
impl Debug for cynic_parser_deser::value::scalars::StringValue<'_>
impl Debug for cynic_parser::common::int_value::IntValue
impl Debug for TypeWrappers
impl Debug for cynic_parser::executable::generated::argument::Argument<'_>
impl Debug for cynic_parser::executable::generated::directive::Directive<'_>
impl Debug for FragmentDefinition<'_>
impl Debug for OperationDefinition<'_>
impl Debug for cynic_parser::executable::generated::selections::FieldSelection<'_>
impl Debug for FragmentSpread<'_>
impl Debug for InlineFragment<'_>
impl Debug for VariableDefinition<'_>
impl Debug for cynic_parser::executable::ids::ArgumentId
impl Debug for cynic_parser::executable::ids::BlockStringLiteralId
impl Debug for cynic_parser::executable::ids::DirectiveId
impl Debug for ExecutableDefinitionId
impl Debug for FieldSelectionId
impl Debug for FragmentDefinitionId
impl Debug for FragmentSpreadId
impl Debug for InlineFragmentId
impl Debug for OperationDefinitionId
impl Debug for SelectionId
impl Debug for cynic_parser::executable::ids::TypeId
impl Debug for VariableDefinitionId
impl Debug for cynic_parser::executable::types::Type<'_>
impl Debug for Span
impl Debug for cynic_parser::type_system::generated::arguments::Argument<'_>
impl Debug for Description<'_>
impl Debug for cynic_parser::type_system::generated::directives::Directive<'_>
impl Debug for DirectiveDefinition<'_>
impl Debug for EnumDefinition<'_>
impl Debug for EnumValueDefinition<'_>
impl Debug for FieldDefinition<'_>
impl Debug for InputObjectDefinition<'_>
impl Debug for cynic_parser::type_system::generated::input_values::InputValueDefinition<'_>
impl Debug for InterfaceDefinition<'_>
impl Debug for ObjectDefinition<'_>
impl Debug for ScalarDefinition<'_>
impl Debug for RootOperationTypeDefinition<'_>
impl Debug for SchemaDefinition<'_>
impl Debug for UnionDefinition<'_>
impl Debug for UnionMember<'_>
impl Debug for cynic_parser::type_system::ids::ArgumentId
impl Debug for cynic_parser::type_system::ids::BlockStringLiteralId
impl Debug for DefinitionId
impl Debug for DescriptionId
impl Debug for cynic_parser::type_system::ids::DirectiveDefinitionId
impl Debug for cynic_parser::type_system::ids::DirectiveId
impl Debug for cynic_parser::type_system::ids::EnumDefinitionId
impl Debug for EnumValueDefinitionId
impl Debug for FieldDefinitionId
impl Debug for InputObjectDefinitionId
impl Debug for cynic_parser::type_system::ids::InputValueDefinitionId
impl Debug for InterfaceDefinitionId
impl Debug for ObjectDefinitionId
impl Debug for RootOperationTypeDefinitionId
impl Debug for cynic_parser::type_system::ids::ScalarDefinitionId
impl Debug for SchemaDefinitionId
impl Debug for cynic_parser::type_system::ids::TypeId
impl Debug for UnionDefinitionId
impl Debug for UnionMemberId
impl Debug for MalformedDirectiveLocation
impl Debug for cynic_parser::type_system::types::Type<'_>
impl Debug for ConstList<'_>
impl Debug for ConstObject<'_>
impl Debug for cynic_parser::values::enums::EnumValue<'_>
impl Debug for ConstFieldId
impl Debug for ConstValueId
impl Debug for cynic_parser::values::ids::FieldId
impl Debug for cynic_parser::values::ids::StringId
impl Debug for ValueId
impl Debug for cynic_parser::values::lists::List<'_>
impl Debug for cynic_parser::values::objects::Object<'_>
impl Debug for cynic_parser::values::scalars::BooleanValue<'_>
impl Debug for cynic_parser::values::scalars::FloatValue<'_>
impl Debug for cynic_parser::values::scalars::IntValue<'_>
impl Debug for cynic_parser::values::scalars::NullValue<'_>
impl Debug for cynic_parser::values::scalars::StringValue<'_>
impl Debug for VariableValue<'_>
impl Debug for indexmap::TryReserveError
impl Debug for One
impl Debug for Three
impl Debug for Two
impl Debug for memchr::arch::all::packedpair::Finder
impl Debug for Pair
impl Debug for memchr::arch::all::rabinkarp::Finder
impl Debug for memchr::arch::all::rabinkarp::FinderRev
impl Debug for memchr::arch::all::shiftor::Finder
impl Debug for memchr::arch::all::twoway::Finder
impl Debug for memchr::arch::all::twoway::FinderRev
impl Debug for FinderBuilder
impl Debug for IgnoredAny
impl Debug for serde::de::value::Error
impl Debug for serde_json::error::Error
impl Debug for serde_json::map::Map<String, Value>
impl Debug for Number
impl Debug for CompactFormatter
impl Debug for Arguments<'_>
impl Debug for graphql_federated_graph::fmt::Error
impl Debug for FormattingOptions
impl Debug for graphql_federated_graph::EnumValue<'_>
impl Debug for dyn Any
impl Debug for dyn Any + Send
impl Debug for dyn Any + Sync + Send
impl<'a> Debug for Import<'a>
impl<'a> Debug for Utf8Pattern<'a>
impl<'a> Debug for Component<'a>
impl<'a> Debug for Prefix<'a>
impl<'a> Debug for DeserValue<'a>
impl<'a> Debug for ExecutableDefinition<'a>
impl<'a> Debug for cynic_parser::executable::generated::selections::Selection<'a>
impl<'a> Debug for ConstValue<'a>
impl<'a> Debug for cynic_parser::values::value::Value<'a>
impl<'a> Debug for Unexpected<'a>
impl<'a> Debug for LinkDirective<'a>
impl<'a> Debug for QualifiedImport<'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 EscapeAscii<'a>
impl<'a> Debug for core::str::iter::Bytes<'a>
impl<'a> Debug for CharIndices<'a>
impl<'a> Debug for core::str::iter::EscapeDebug<'a>
impl<'a> Debug for core::str::iter::EscapeDefault<'a>
impl<'a> Debug for core::str::iter::EscapeUnicode<'a>
impl<'a> Debug for core::str::iter::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 CharSearcher<'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 PanicHookInfo<'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 StringLiteral<'a>
impl<'a> Debug for PrettyFormatter<'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, 'h> Debug for OneIter<'a, 'h>
impl<'a, 'h> Debug for ThreeIter<'a, 'h>
impl<'a, 'h> Debug for TwoIter<'a, 'h>
impl<'a, A> Debug for core::option::Iter<'a, A>where
A: Debug + 'a,
impl<'a, A> Debug for core::option::IterMut<'a, A>where
A: Debug + 'a,
impl<'a, E> Debug for BytesDeserializer<'a, E>
impl<'a, E> Debug for CowStrDeserializer<'a, E>
impl<'a, E> Debug for StrDeserializer<'a, E>
impl<'a, I> Debug for ByRefSized<'a, I>where
I: Debug,
impl<'a, I> Debug for Format<'a, I>
impl<'a, I, A> Debug for alloc::vec::splice::Splice<'a, I, A>
impl<'a, I, E> Debug for ProcessResults<'a, I, E>
impl<'a, I, F> Debug for PeekingTakeWhile<'a, I, 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 core::str::iter::RSplit<'a, P>
impl<'a, P> Debug for core::str::iter::RSplitN<'a, P>
impl<'a, P> Debug for RSplitTerminator<'a, P>
impl<'a, P> Debug for core::str::iter::Split<'a, P>
impl<'a, P> Debug for core::str::iter::SplitInclusive<'a, P>
impl<'a, P> Debug for core::str::iter::SplitN<'a, P>
impl<'a, P> Debug for SplitTerminator<'a, P>
impl<'a, T> Debug for alloc::collections::btree::set::Range<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for core::result::Iter<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for core::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 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 cynic_parser::values::iter::Iter<'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, 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 core::slice::iter::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<'de, E> Debug for BorrowedBytesDeserializer<'de, E>
impl<'de, E> Debug for BorrowedStrDeserializer<'de, E>
impl<'de, I, E> Debug for MapDeserializer<'de, I, E>
impl<'f> Debug for VaListImpl<'f>
impl<'h> Debug for Memchr2<'h>
impl<'h> Debug for Memchr3<'h>
impl<'h> Debug for Memchr<'h>
impl<'h, 'n> Debug for FindIter<'h, 'n>
impl<'h, 'n> Debug for FindRevIter<'h, 'n>
impl<'n> Debug for memchr::memmem::Finder<'n>
impl<'n> Debug for memchr::memmem::FinderRev<'n>
impl<'scope, T> Debug for ScopedJoinHandle<'scope, T>
impl<'source, Token> Debug for Lexer<'source, Token>
impl<A> Debug for core::iter::sources::repeat::Repeat<A>where
A: Debug,
impl<A> Debug for core::iter::sources::repeat_n::RepeatN<A>where
A: Debug,
impl<A> Debug for core::option::IntoIter<A>where
A: Debug,
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 itertools::repeatn::RepeatN<A>where
A: Debug,
impl<A> Debug for EnumAccessDeserializer<A>where
A: Debug,
impl<A> Debug for MapAccessDeserializer<A>where
A: Debug,
impl<A> Debug for SeqAccessDeserializer<A>where
A: Debug,
impl<A, B> Debug for EitherOrBoth<A, B>
impl<A, B> Debug for core::iter::adapters::chain::Chain<A, B>
impl<A, B> Debug for core::iter::adapters::zip::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 Flag<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 for BoolDeserializer<E>
impl<E> Debug for CharDeserializer<E>
impl<E> Debug for F32Deserializer<E>
impl<E> Debug for F64Deserializer<E>
impl<E> Debug for I8Deserializer<E>
impl<E> Debug for I16Deserializer<E>
impl<E> Debug for I32Deserializer<E>
impl<E> Debug for I64Deserializer<E>
impl<E> Debug for I128Deserializer<E>
impl<E> Debug for IsizeDeserializer<E>
impl<E> Debug for StringDeserializer<E>
impl<E> Debug for U8Deserializer<E>
impl<E> Debug for U16Deserializer<E>
impl<E> Debug for U32Deserializer<E>
impl<E> Debug for U64Deserializer<E>
impl<E> Debug for U128Deserializer<E>
impl<E> Debug for UnitDeserializer<E>
impl<E> Debug for UsizeDeserializer<E>
impl<F> Debug for PollFn<F>
impl<F> Debug for core::iter::sources::from_fn::FromFn<F>
impl<F> Debug for OnceWith<F>
impl<F> Debug for RepeatWith<F>
impl<F> Debug for CharPredicateSearcher<'_, F>
impl<F> Debug for graphql_federated_graph::fmt::FromFn<F>
impl<F> Debug for Fwhere
F: FnPtr,
impl<G> Debug for FromCoroutine<G>
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 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 core::iter::adapters::take::Take<I>where
I: Debug,
impl<I> Debug for MultiProduct<I>
impl<I> Debug for PutBack<I>
impl<I> Debug for WhileSome<I>where
I: Debug,
impl<I> Debug for CombinationsWithReplacement<I>
impl<I> Debug for ExactlyOneError<I>
impl<I> Debug for GroupingMap<I>where
I: Debug,
impl<I> Debug for MultiPeek<I>
impl<I> Debug for PeekNth<I>
impl<I> Debug for Permutations<I>
impl<I> Debug for Powerset<I>
impl<I> Debug for PutBackN<I>
impl<I> Debug for RcIter<I>where
I: Debug,
impl<I> Debug for Tee<I>
impl<I> Debug for Unique<I>
impl<I> Debug for WithPosition<I>
impl<I, E> Debug for SeqDeserializer<I, E>where
I: Debug,
impl<I, ElemF> Debug for itertools::intersperse::IntersperseWith<I, ElemF>
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 core::iter::adapters::map::Map<I, F>where
I: Debug,
impl<I, F> Debug for Batching<I, F>where
I: Debug,
impl<I, F> Debug for FilterMapOk<I, F>where
I: Debug,
impl<I, F> Debug for FilterOk<I, F>where
I: Debug,
impl<I, F> Debug for Positions<I, F>where
I: Debug,
impl<I, F> Debug for TakeWhileRef<'_, I, F>
impl<I, F> Debug for Update<I, F>where
I: Debug,
impl<I, F> Debug for FormatWith<'_, I, F>
impl<I, F> Debug for KMergeBy<I, F>
impl<I, F> Debug for PadUsing<I, F>where
I: Debug,
impl<I, F> Debug for TakeWhileInclusive<I, F>
impl<I, F, const N: usize> Debug for MapWindows<I, F, N>
impl<I, G> Debug for core::iter::adapters::intersperse::IntersperseWith<I, G>
impl<I, J> Debug for Diff<I, J>
impl<I, J> Debug for Interleave<I, J>
impl<I, J> Debug for InterleaveShortest<I, J>
impl<I, J> Debug for Product<I, J>
impl<I, J> Debug for ZipEq<I, J>
impl<I, J, F> Debug for MergeBy<I, J, F>
impl<I, K, V, S> Debug for indexmap::map::iter::Splice<'_, I, K, V, S>
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, T> Debug for TupleCombinations<I, T>
impl<I, T> Debug for CircularTupleWindows<I, T>
impl<I, T> Debug for TupleWindows<I, T>
impl<I, T> Debug for Tuples<I, T>where
I: Debug + Iterator<Item = <T as TupleCollect>::Item>,
T: Debug + HomogeneousTuple,
<T as TupleCollect>::Buffer: Debug,
impl<I, T, E> Debug for FlattenOk<I, T, E>where
I: Iterator<Item = Result<T, E>> + Debug,
T: IntoIterator,
<T as IntoIterator>::IntoIter: Debug,
impl<I, T, S> Debug for indexmap::set::iter::Splice<'_, I, T, S>
impl<I, U> Debug for Flatten<I>
impl<I, U, F> Debug for FlatMap<I, U, F>
impl<I, V, F> Debug for UniqueBy<I, V, F>
impl<I, const N: usize> Debug for core::iter::adapters::array_chunks::ArrayChunks<I, N>
impl<Idx> Debug for core::ops::range::Range<Idx>where
Idx: Debug,
impl<Idx> Debug for core::ops::range::RangeFrom<Idx>where
Idx: Debug,
impl<Idx> Debug for core::ops::range::RangeInclusive<Idx>where
Idx: Debug,
impl<Idx> Debug for RangeTo<Idx>where
Idx: Debug,
impl<Idx> Debug for RangeToInclusive<Idx>where
Idx: Debug,
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<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 hashbrown::set::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 hashbrown::set::Drain<'_, K, A>where
K: Debug,
A: Allocator,
impl<K, A> Debug for hashbrown::set::IntoIter<K, A>where
K: Debug,
A: Allocator,
impl<K, F> Debug for std::collections::hash::set::ExtractIf<'_, K, F>where
K: Debug,
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 indexmap::map::core::entry::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 hashbrown::map::Iter<'_, K, V>
impl<K, V> Debug for hashbrown::map::IterMut<'_, K, V>
impl<K, V> Debug for hashbrown::map::Keys<'_, K, V>where
K: Debug,
impl<K, V> Debug for hashbrown::map::Values<'_, K, V>where
V: Debug,
impl<K, V> Debug for hashbrown::map::ValuesMut<'_, K, V>where
V: Debug,
impl<K, V> Debug for IndexedEntry<'_, K, V>
impl<K, V> Debug for indexmap::map::core::entry::OccupiedEntry<'_, K, V>
impl<K, V> Debug for indexmap::map::core::entry::VacantEntry<'_, K, V>where
K: Debug,
impl<K, V> Debug for indexmap::map::iter::Drain<'_, K, V>
impl<K, V> Debug for indexmap::map::iter::IntoIter<K, V>
impl<K, V> Debug for indexmap::map::iter::IntoKeys<K, V>where
K: Debug,
impl<K, V> Debug for indexmap::map::iter::IntoValues<K, V>where
V: Debug,
impl<K, V> Debug for indexmap::map::iter::Iter<'_, K, V>
impl<K, V> Debug for IterMut2<'_, K, V>
impl<K, V> Debug for indexmap::map::iter::IterMut<'_, K, V>
impl<K, V> Debug for indexmap::map::iter::Keys<'_, K, V>where
K: Debug,
impl<K, V> Debug for indexmap::map::iter::Values<'_, K, V>where
V: Debug,
impl<K, V> Debug for indexmap::map::iter::ValuesMut<'_, K, V>where
V: Debug,
impl<K, V> Debug for indexmap::map::slice::Slice<K, V>
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 hashbrown::map::Drain<'_, K, V, A>
impl<K, V, A> Debug for hashbrown::map::IntoIter<K, V, A>
impl<K, V, A> Debug for hashbrown::map::IntoKeys<K, V, A>
impl<K, V, A> Debug for hashbrown::map::IntoValues<K, V, A>where
V: Debug,
A: Allocator,
impl<K, V, F> Debug for std::collections::hash::map::ExtractIf<'_, K, V, F>
impl<K, V, R, F, A> Debug for alloc::collections::btree::map::ExtractIf<'_, K, V, R, F, A>
impl<K, V, S> Debug for RawEntryMut<'_, K, V, S>
impl<K, V, S> Debug for std::collections::hash::map::HashMap<K, V, S>
impl<K, V, S> Debug for RawEntryBuilder<'_, K, V, S>
impl<K, V, S> Debug for RawEntryBuilderMut<'_, K, V, S>
impl<K, V, S> Debug for RawOccupiedEntryMut<'_, K, V, S>
impl<K, V, S> Debug for RawVacantEntryMut<'_, K, V, S>
impl<K, V, S> Debug for IndexMap<K, V, S>
impl<K, V, S, A> Debug for hashbrown::map::Entry<'_, K, V, S, A>
impl<K, V, S, A> Debug for hashbrown::map::HashMap<K, V, S, A>
impl<K, V, S, A> Debug for hashbrown::map::OccupiedEntry<'_, K, V, S, A>
impl<K, V, S, A> Debug for hashbrown::map::OccupiedError<'_, K, V, S, A>
impl<K, V, S, A> Debug for hashbrown::map::VacantEntry<'_, K, V, S, A>where
K: Debug,
A: Allocator,
impl<L, R> Debug for Either<L, R>
impl<L, R> Debug for IterEither<L, R>
impl<L, T, E> Debug for lalrpop_util::ParseError<L, T, E>
impl<L, T, E> Debug for ErrorRecovery<L, T, E>
impl<Ptr> Debug for Pin<Ptr>where
Ptr: Debug,
impl<R> Debug for BufReader<R>
impl<R> Debug for std::io::Bytes<R>where
R: Debug,
impl<St, F> Debug for Iterate<St, F>where
St: Debug,
impl<St, F> Debug for Unfold<St, F>where
St: Debug,
impl<T> Debug for Bound<T>where
T: Debug,
impl<T> Debug for Option<T>where
T: Debug,
impl<T> Debug for Poll<T>where
T: Debug,
impl<T> Debug for SendTimeoutError<T>
impl<T> Debug for TrySendError<T>
impl<T> Debug for std::sync::poison::TryLockError<T>
impl<T> Debug for FoldWhile<T>where
T: Debug,
impl<T> Debug for MinMaxResult<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ₙ)where
T: Debug,
This trait is implemented for tuples up to twelve items long.