pic_scale

Trait ConstPI

Source
pub trait ConstPI {
    // Required method
    fn const_pi() -> Self;
}

Required Methods§

Source

fn const_pi() -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ConstPI for f32

Source§

fn const_pi() -> Self

Source§

impl ConstPI for f64

Source§

fn const_pi() -> Self

Implementors§