pub trait PrecisionBits {
// Required method
fn precision_bits(&self) -> u32;
}Required Methods§
Sourcefn precision_bits(&self) -> u32
fn precision_bits(&self) -> u32
Returns the precision (in bits) of the floating-point type.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".