Expand description
Marker traits for types that can be formatted and/or be written to.
§Features
This module is only exported with the “fmt” feature
Structs§
- IsAFormat
Marker - Hack used to automatically wrap standard library types inside
PWrapper
, while leaving user defined types unwrapped. - IsAStr
Writer - Marker type for
StrWriter
’sKind
inWriteMarker
s - IsAWrite
Marker - Hack used to automatically convert a
mutable reference to a
StrWriter
to aStrWriterMut
, and do nothing with other types. - IsArray
Kind - Marker type for arrays and slices,
used as the
Kind
associated type inFormatMarker
. - IsNotA
StrWriter - Marker type for the
Kind
of all non-StrWriter
types that implementWriteMarker
. - IsNot
StdKind - Marker type for non-standard library types,
used as the
Kind
associated type inFormatMarker
. - IsStd
Kind - Marker type for the remaining standard library types,,
used as the
Kind
associated type inFormatMarker
.
Traits§
- Format
Marker - Marker trait for types that implement the const formatting methods.
- Write
Marker - Marker trait for types that can be written into.