Skip to main content

Real

Trait Real 

Source
pub trait Real:
    Copy
    + PartialOrd
    + Add<Output = Self>
    + Sub<Output = Self>
    + Mul<Output = Self>
    + Div<Output = Self>
    + Sealed {
    const ZERO: Self;
    const ONE: Self;
}
Expand description

A coordinate the queries work in: f32 or f64.

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".

Implementations on Foreign Types§

Source§

impl Real for f32

Source§

const ZERO: Self = 0.0

Source§

const ONE: Self = 1.0

Source§

impl Real for f64

Source§

const ZERO: Self = 0.0

Source§

const ONE: Self = 1.0

Implementors§