Trait ThueMorseConstant

Source
pub trait ThueMorseConstant {
    const THUE_MORSE_CONSTANT: Self;
}
Expand description

Provides the Thue-Morse constant, whose bits are the Thue-Morse sequence.

Required Associated Constants§

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 ThueMorseConstant for f32

The Thue-Morse constant.

Source§

const THUE_MORSE_CONSTANT: f32 = 0.412454039f32

Source§

impl ThueMorseConstant for f64

The Thue-Morse constant.

Source§

const THUE_MORSE_CONSTANT: f64 = 0.41245403364010758f64

Implementors§