pic_scale

Trait ConstSqrt2

source
pub trait ConstSqrt2 {
    // Required method
    fn const_sqrt2() -> Self;
}

Required Methods§

source

fn const_sqrt2() -> 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 ConstSqrt2 for f32

source§

fn const_sqrt2() -> Self

source§

impl ConstSqrt2 for f64

source§

fn const_sqrt2() -> Self

Implementors§