Skip to main content

PiOver3

Trait PiOver3 

Source
pub trait PiOver3 {
    const PI_OVER_3: Self;
}
Expand description

Provides $\pi/3$.

Required Associated Constants§

Source

const PI_OVER_3: 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 PiOver3 for f32

$\pi/3$.

Source§

const PI_OVER_3: f32 = core::f32::consts::FRAC_PI_3

Source§

impl PiOver3 for f64

$\pi/3$.

Source§

const PI_OVER_3: f64 = core::f64::consts::FRAC_PI_3

Implementors§