Trait FloatToFixed

Source
pub trait FloatToFixed: Sealed { }
Expand description

A floating point number that can be written into a ryu_js::Buffer using the fixed notation as defined in the Number.prototype.toFixed( fractionDigits ) ECMAScript specification.

This trait is sealed and cannot be implemented for types outside of the ryu-js crate.

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 FloatToFixed for f64

Implementors§