[][src]Module const_format::marker_traits

This is supported on crate feature fmt only.

Marker traits for types that can be formatted and/or be written to.

Features

This module is only exported with the "fmt" feature

Structs

IsAFormatMarker

Hack used to automatically wrap standard library types inside PWrapper, while leaving user defined types unwrapped.

IsAStrWriter

Marker type for StrWriter's Kind in WriteMarkers

IsAWriteMarker

Hack used to automatically convert a mutable reference to a StrWriter to a StrWriterMut, and do nothing with other types.

IsArrayKind

Marker type for arrays and slices, used as the Kind associated type in FormatMarker.

IsNotAStrWriter

Marker type for the Kind of all non-StrWriter types that implement WriteMarker.

IsNotStdKind

Marker type for non-standard library types, used as the Kind associated type in FormatMarker.

IsStdKind

Marker type for the remaining standard library types,, used as the Kind associated type in FormatMarker.

Traits

FormatMarker

Marker trait for types that implement the const formatting methods.

WriteMarker

Marker trait for types that can be written into.