Trait dotrix_egui::epaint::emath::Numeric[]

pub trait Numeric: 'static + Clone + Copy + PartialEq<Self> + PartialOrd<Self> {
    const INTEGRAL: bool;
    const MIN: Self;
    const MAX: Self;

    fn to_f64(self) -> f64;
fn from_f64(num: f64) -> Self; }
Expand description

Implemented for all builtin numeric types

Associated Constants

Is this an integer type?

Smallest finite value

Largest finite value

Required methods

Implementations on Foreign Types

Implementors