Trait omf::data::traits::FloatType

source ·
pub trait FloatType:
    PqArrayType
    + Copy
    + Into<f64>
    + PartialOrd
    + Default
    + 'static {
    const ZERO: Self;
    const ONE: Self;
}

Required Associated Constants§

source

const ZERO: Self

source

const ONE: Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FloatType for f32

source§

const ZERO: Self = 0f32

source§

const ONE: Self = 1f32

source§

impl FloatType for f64

source§

const ZERO: Self = 0f64

source§

const ONE: Self = 1f64

Implementors§