Skip to main content

PiOver2

Trait PiOver2 

Source
pub trait PiOver2 {
    const PI_OVER_2: Self;
}
Expand description

Provides $\pi/2$.

Required Associated Constants§

Source

const PI_OVER_2: 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 PiOver2 for f32

$\pi/2$.

Source§

const PI_OVER_2: f32 = core::f32::consts::FRAC_PI_2

Source§

impl PiOver2 for f64

$\pi/2$.

Source§

const PI_OVER_2: f64 = core::f64::consts::FRAC_PI_2

Implementors§