Trait emath::One

source ·
pub trait One {
    const ONE: Self;
}
Expand description

Helper trait to implement lerp and remap.

Required Associated Constants§

source

const ONE: Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl One for f32

source§

const ONE: Self = 1f32

source§

impl One for f64

source§

const ONE: Self = 1f64

Implementors§