Trait FromF64
palette
pub trait FromF64 { fn from_f64(c: f64) -> Self; }
A trait for infallible conversion from f64. The conversion may be lossy.
f64
fn from_f64(c: f64) -> Self
Creates a value from an f64 constant.
impl FromF64 for f32
impl FromF64 for f64