Trait Sealed

Source
pub trait Sealed: Copy {
    // Required methods
    fn is_nonfinite(self) -> bool;
    fn format_nonfinite(self) -> &'static str;
    unsafe fn write_to_ryu_buffer(self, result: *mut u8) -> usize;
}

Required Methods§

Source

fn is_nonfinite(self) -> bool

Source

fn format_nonfinite(self) -> &'static str

Source

unsafe fn write_to_ryu_buffer(self, result: *mut u8) -> usize

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§

unsafe fn write_to_ryu_buffer(self, result: *mut u8) -> usize

Source§

impl Sealed for f64

Source§

fn is_nonfinite(self) -> bool

Source§

fn format_nonfinite(self) -> &'static str

Source§

unsafe fn write_to_ryu_buffer(self, result: *mut u8) -> usize

Implementors§