pub trait FormatArgument {
    type Details: 'static + Copy;
}
Expand description

Type that can be formatted. Implemented for standard integer types, &str and char.

Required Associated Types§

source

type Details: 'static + Copy

Formatting specification for the type.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FormatArgument for &str

§

type Details = StrFormat

source§

impl FormatArgument for char

§

type Details = ()

source§

impl FormatArgument for i8

§

type Details = ()

source§

impl FormatArgument for i16

§

type Details = ()

source§

impl FormatArgument for i32

§

type Details = ()

source§

impl FormatArgument for i64

§

type Details = ()

source§

impl FormatArgument for i128

§

type Details = ()

source§

impl FormatArgument for isize

§

type Details = ()

source§

impl FormatArgument for u8

§

type Details = ()

source§

impl FormatArgument for u16

§

type Details = ()

source§

impl FormatArgument for u32

§

type Details = ()

source§

impl FormatArgument for u64

§

type Details = ()

source§

impl FormatArgument for u128

§

type Details = ()

source§

impl FormatArgument for usize

§

type Details = ()

Implementors§

source§

impl FormatArgument for Ascii<'_>

§

type Details = StrFormat

source§

impl<const CAP: usize> FormatArgument for &CompileArgs<CAP>

§

type Details = ()