Skip to main content

PiOver8

Trait PiOver8 

Source
pub trait PiOver8 {
    const PI_OVER_8: Self;
}
Expand description

Provides $\pi/8$.

Required Associated Constants§

Source

const PI_OVER_8: 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 PiOver8 for f32

$\pi/8$.

Source§

const PI_OVER_8: f32 = core::f32::consts::FRAC_PI_8

Source§

impl PiOver8 for f64

$\pi/8$.

Source§

const PI_OVER_8: f64 = core::f64::consts::FRAC_PI_8

Implementors§