wiwi::num

Trait IntoF64

Source
pub trait IntoF64
where Self: Sealed,
{ // Required method fn into_f64(self) -> f64; }
Expand description

Trait for number types that can be converted into f64, losslessly

Required Methods§

Source

fn into_f64(self) -> f64

Convert into a f64 value

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 IntoF64 for bool

Source§

fn into_f64(self) -> f64

Source§

impl IntoF64 for f32

Source§

fn into_f64(self) -> f64

Source§

impl IntoF64 for f64

Source§

fn into_f64(self) -> f64

Source§

impl IntoF64 for i8

Source§

fn into_f64(self) -> f64

Source§

impl IntoF64 for i16

Source§

fn into_f64(self) -> f64

Source§

impl IntoF64 for i32

Source§

fn into_f64(self) -> f64

Source§

impl IntoF64 for u8

Source§

fn into_f64(self) -> f64

Source§

impl IntoF64 for u16

Source§

fn into_f64(self) -> f64

Source§

impl IntoF64 for u32

Source§

fn into_f64(self) -> f64

Implementors§