pub trait Real: Real + Bounded + FuzzyOrd + Default + Debug + IndexableNum + 'static {
    // Provided methods
    fn pi() -> Self { ... }
    fn tau() -> Self { ... }
    fn two() -> Self { ... }
    fn four() -> Self { ... }
    fn min_value() -> Self { ... }
    fn max_value() -> Self { ... }
}
Expand description

Trait representing a real number (e.g. 1.1, -3.5, etc.) that can be fuzzy compared and ordered.

Provided Methods§

source

fn pi() -> Self

source

fn tau() -> Self

source

fn two() -> Self

source

fn four() -> Self

source

fn min_value() -> Self

source

fn max_value() -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Real for f32

source§

fn pi() -> Self

source§

fn tau() -> Self

source§

fn two() -> Self

source§

fn four() -> Self

source§

impl Real for f64

source§

fn pi() -> Self

source§

fn tau() -> Self

source§

fn two() -> Self

source§

fn four() -> Self

Implementors§