Trait vortex_scalar::FromPrimitiveOrF16

source ·
pub trait FromPrimitiveOrF16: FromPrimitive {
    // Required method
    fn from_f16(v: f16) -> Option<Self>;
}

Required Methods§

source

fn from_f16(v: f16) -> Option<Self>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FromPrimitiveOrF16 for f32

source§

fn from_f16(v: f16) -> Option<Self>

source§

impl FromPrimitiveOrF16 for f64

source§

fn from_f16(v: f16) -> Option<Self>

source§

impl FromPrimitiveOrF16 for i8

source§

fn from_f16(_: f16) -> Option<Self>

source§

impl FromPrimitiveOrF16 for i16

source§

fn from_f16(_: f16) -> Option<Self>

source§

impl FromPrimitiveOrF16 for i32

source§

fn from_f16(_: f16) -> Option<Self>

source§

impl FromPrimitiveOrF16 for i64

source§

fn from_f16(_: f16) -> Option<Self>

source§

impl FromPrimitiveOrF16 for u8

source§

fn from_f16(_: f16) -> Option<Self>

source§

impl FromPrimitiveOrF16 for u16

source§

fn from_f16(_: f16) -> Option<Self>

source§

impl FromPrimitiveOrF16 for u32

source§

fn from_f16(_: f16) -> Option<Self>

source§

impl FromPrimitiveOrF16 for u64

source§

fn from_f16(_: f16) -> Option<Self>

source§

impl FromPrimitiveOrF16 for f16

source§

fn from_f16(v: f16) -> Option<Self>

Implementors§