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’sKindinWriteMarkers - IsAWrite
Marker - Hack used to automatically convert a
mutable reference to a
StrWriterto aStrWriterMut, and do nothing with other types. - IsArray
Kind - Marker type for arrays and slices,
used as the
Kindassociated type inFormatMarker. - IsNotA
StrWriter - Marker type for the
Kindof all non-StrWritertypes that implementWriteMarker. - IsNot
StdKind - Marker type for non-standard library types,
used as the
Kindassociated type inFormatMarker. - IsStd
Kind - Marker type for the remaining standard library types,,
used as the
Kindassociated 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.