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

Trait Real

pub trait Real:
    Copy
    + PartialEq
    + PartialOrd
    + One
    + Add<Output = Self>
    + Sub<Output = Self>
    + Mul<Output = Self>
    + Div<Output = Self> { }
Expand description

Helper trait to implement lerp and remap.

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 Real for f32

§

impl Real for f64

Implementors§