wiwi::num

Trait IntoF64Lossy

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

Trait for number types that can be converted into f64, potentially lossily

Required Methods§

Source

fn into_f64_lossy(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 IntoF64Lossy for bool

Source§

impl IntoF64Lossy for f32

Source§

impl IntoF64Lossy for f64

Source§

impl IntoF64Lossy for i8

Source§

impl IntoF64Lossy for i16

Source§

impl IntoF64Lossy for i32

Source§

impl IntoF64Lossy for i64

Source§

impl IntoF64Lossy for i128

Source§

impl IntoF64Lossy for isize

Source§

impl IntoF64Lossy for u8

Source§

impl IntoF64Lossy for u16

Source§

impl IntoF64Lossy for u32

Source§

impl IntoF64Lossy for u64

Source§

impl IntoF64Lossy for u128

Source§

impl IntoF64Lossy for usize

Implementors§