ConstSqrt5

Trait ConstSqrt5 

Source
pub trait ConstSqrt5 {
    const SQRT_5: Self;
}
Expand description

√5

Required Associated Constants§

Source

const SQRT_5: 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 ConstSqrt5 for f32

Source§

const SQRT_5: Self = 2.23606801f32

Source§

impl ConstSqrt5 for f64

Source§

const SQRT_5: Self = 2.2360679774997898f64

Implementors§