Skip to main content

FromF64

Trait FromF64 

Source
pub trait FromF64 {
    // Required method
    fn from_f64(value: f64) -> Self;
}

Required Methods§

Source

fn from_f64(value: f64) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FromF64 for f32

Source§

fn from_f64(value: f64) -> Self

Source§

impl FromF64 for f64

Source§

fn from_f64(value: f64) -> Self

Implementors§