Docs.rs
palette-0.7.3
palette 0.7.3
Docs.rs crate page
MIT OR Apache-2.0
Links
Documentation
Repository
crates.io
Source
Owners
Ogeon
Dependencies
approx ^0.5
normal
bytemuck ^1
normal
fast-srgb8 ^1.0.0
normal
libm ^0.2.1
normal
palette_derive ^0.7.3
normal
phf ^0.11.0
normal
rand ^0.8
normal
serde ^1
normal
wide ^0.7.3
normal
clap ^3.2.23
dev
criterion ^0.4.0
dev
csv ^1
dev
enterpolation ^0.2.0
dev
image ^0.23.14
dev
lazy_static ^1
dev
rand_mt ^4
dev
ron ^0.8.0
dev
scad ^1.2.2
dev
serde ^1
dev
serde_derive ^1
dev
serde_json ^1
dev
Versions
100%
of the crate is documented
Go to latest version
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
☰
LinSrgb
Trait Implementations
From<Rgb<Srgb, T>>
In palette::rgb
?
Type Definition
palette
::
rgb
::
LinSrgb
source
·
[
−
]
pub type LinSrgb<T =
f32
> =
Rgb
<
Linear
<
Srgb
>, T>;
Expand description
Linear sRGB.
Trait Implementations
§
source
§
impl<T, U>
From
<
Rgb
<
Srgb
, T>> for
LinSrgb
<U>
where
Srgb
:
RgbStandard
<Space =
Srgb
> +
IntoLinear
<U, T>,
source
§
fn
from
(srgb:
Srgb
<T>) -> Self
Converts to this type from the input type.