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

Source§

impl FromF64 for i8

Source§

fn from_f64(value: f64) -> Self

Source§

impl FromF64 for i16

Source§

fn from_f64(value: f64) -> Self

Source§

impl FromF64 for i32

Source§

fn from_f64(value: f64) -> Self

Source§

impl FromF64 for i64

Source§

fn from_f64(value: f64) -> Self

Source§

impl FromF64 for u8

Source§

fn from_f64(value: f64) -> Self

Source§

impl FromF64 for u16

Source§

fn from_f64(value: f64) -> Self

Source§

impl FromF64 for u32

Source§

fn from_f64(value: f64) -> Self

Source§

impl FromF64 for u64

Source§

fn from_f64(value: f64) -> Self

Implementors§