Skip to main content

PiOver6

Trait PiOver6 

Source
pub trait PiOver6 {
    const PI_OVER_6: Self;
}
Expand description

Provides $\pi/6$.

Required Associated Constants§

Source

const PI_OVER_6: 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 PiOver6 for f32

$\pi/6$.

Source§

const PI_OVER_6: f32 = core::f32::consts::FRAC_PI_6

Source§

impl PiOver6 for f64

$\pi/6$.

Source§

const PI_OVER_6: f64 = core::f64::consts::FRAC_PI_6

Implementors§