rerun::external::eframe::egui::epaint::emath

Trait One

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

Helper trait to implement lerp and remap.

Required Associated Constants§

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§

§

impl One for f32

§

const ONE: f32 = 1f32

§

impl One for f64

§

const ONE: f64 = 1f64

Implementors§