dtoa_short

Trait Floating

Source
pub trait Floating: Float {
    // Required method
    fn write<W: Write>(self, dest: &mut W) -> DtoaResult;
}

Required Methods§

Source

fn write<W: Write>(self, dest: &mut W) -> DtoaResult

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Floating for f32

Source§

fn write<W: Write>(self, dest: &mut W) -> DtoaResult

Source§

impl Floating for f64

Source§

fn write<W: Write>(self, dest: &mut W) -> DtoaResult

Implementors§