Skip to main content

PiOver4

Trait PiOver4 

Source
pub trait PiOver4 {
    const PI_OVER_4: Self;
}
Expand description

Provides $\pi/4$.

Required Associated Constants§

Source

const PI_OVER_4: Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl PiOver4 for f32

$\pi/4$.

Source§

const PI_OVER_4: f32 = core::f32::consts::FRAC_PI_4

Source§

impl PiOver4 for f64

$\pi/4$.

Source§

const PI_OVER_4: f64 = core::f64::consts::FRAC_PI_4

Implementors§