Trait num_format::ToFormattedStr

source ·
pub trait ToFormattedStr: Sealed + Sized { }
Expand description

Marker trait for number types that can be formatted without heap allocation (see Buffer).

This trait is sealed; so you may not implement it on your own types.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ToFormattedStr for i8

source§

impl ToFormattedStr for i16

source§

impl ToFormattedStr for i32

source§

impl ToFormattedStr for i64

source§

impl ToFormattedStr for i128

source§

impl ToFormattedStr for isize

source§

impl ToFormattedStr for u8

source§

impl ToFormattedStr for u16

source§

impl ToFormattedStr for u32

source§

impl ToFormattedStr for u64

source§

impl ToFormattedStr for u128

source§

impl ToFormattedStr for usize

source§

impl ToFormattedStr for NonZeroU8

source§

impl ToFormattedStr for NonZeroU16

source§

impl ToFormattedStr for NonZeroU32

source§

impl ToFormattedStr for NonZeroU64

source§

impl ToFormattedStr for NonZeroU128

source§

impl ToFormattedStr for NonZeroUsize

Implementors§