Trait palette::FromF64[][src]

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

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

Required methods

fn from_f64(c: f64) -> Self[src]

Creates a value from an f64 constant.

Loading content...

Implementations on Foreign Types

impl FromF64 for f32[src]

impl FromF64 for f64[src]

Loading content...

Implementors

Loading content...