palette::encoding::gamma

Trait Number

Source
pub trait Number: 'static {
    const VALUE: f64;
}
Expand description

A type level float constant.

Required Associated Constants§

Source

const VALUE: f64

The represented number.

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.

Implementors§

Source§

impl Number for F2p2

Source§

const VALUE: f64 = 2.2000000000000002f64