dtoa::private

Trait Sealed

Source
pub trait Sealed: Copy {
    // Required methods
    fn is_nonfinite(self) -> bool;
    fn format_nonfinite(self) -> &'static str;
    fn write(self, buf: &mut Buffer) -> &str;
}

Required Methods§

Source

fn is_nonfinite(self) -> bool

Source

fn format_nonfinite(self) -> &'static str

Source

fn write(self, buf: &mut Buffer) -> &str

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 Sealed for f32

Source§

fn is_nonfinite(self) -> bool

Source§

fn format_nonfinite(self) -> &'static str

Source§

fn write(self, buf: &mut Buffer) -> &str

Source§

impl Sealed for f64

Source§

fn is_nonfinite(self) -> bool

Source§

fn format_nonfinite(self) -> &'static str

Source§

fn write(self, buf: &mut Buffer) -> &str

Implementors§