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§
fn is_nonfinite(self) -> bool
fn format_nonfinite(self) -> &'static str
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.