Trait 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

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 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§