Trait palette::FromF64[][src]

pub trait FromF64 {
    fn from_f64(c: f64) -> Self;
}
Expand description

A trait for infallible conversion from f64. The conversion may be lossy.

Required methods

Creates a value from an f64 constant.

Implementations on Foreign Types

Implementors