SpecialValues

Trait SpecialValues 

Source
pub trait SpecialValues {
    // Required methods
    fn pi(t: Type, prec: u32) -> Self;
    fn nan(t: Type, prec: u32) -> Self;
    fn inf(t: Type, prec: u32) -> Self;
}

Required Methods§

Source

fn pi(t: Type, prec: u32) -> Self

Source

fn nan(t: Type, prec: u32) -> Self

Source

fn inf(t: Type, prec: u32) -> 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.

Implementors§