Docs.rs
palette-0.7.6
palette 0.7.6
Permalink
Docs.rs crate page
MIT OR Apache-2.0
Links
Documentation
Repository
crates.io
Source
Owners
Ogeon
Dependencies
approx ^0.5
normal
optional
bytemuck ^1
normal
optional
fast-srgb8 ^1.0.0
normal
libm ^0.2.1
normal
optional
palette_derive ^0.7.6
normal
phf ^0.11.0
normal
optional
rand ^0.8
normal
optional
serde ^1
normal
optional
wide ^0.7.3
normal
optional
enterpolation ^0.2.0
dev
image ^0.23.14
dev
rand_mt ^4
dev
ron =0.8.0
dev
serde_json ^1
dev
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
palette
0.7.6
Number
Required Associated Constants
VALUE
Object Safety
Implementors
In palette::encoding::gamma
?
Settings
Trait
palette
::
encoding
::
gamma
::
Number
Copy item path
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.
Object Safety
§
This trait is
not
object safe
.
Implementors
§
source
§
impl
Number
for
F2p2
source
§
const
VALUE
:
f64
= 2.2000000000000002f64