Module const_format::marker_traits
source · Available on crate feature
fmt
only.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§
- Hack used to automatically wrap standard library types inside
PWrapper
, while leaving user defined types unwrapped. - Hack used to automatically convert a mutable reference to a
StrWriter
to aStrWriterMut
, and do nothing with other types. - Marker type for arrays and slices, used as the
Kind
associated type inFormatMarker
. - Marker type for non-standard library types, used as the
Kind
associated type inFormatMarker
. - Marker type for the remaining standard library types,, used as the
Kind
associated type inFormatMarker
.
Traits§
- Marker trait for types that implement the const formatting methods.
- Marker trait for types that can be written into.