pub trait Real {
// Required method
fn from_f64(n: f64) -> Self;
}
Expand description
Numbers that belong to the real number set. It’s both a semantic marker and provides a constructor for number constants.
Required Methods§
Object Safety§
This trait is not object safe.