MCPcopy Create free account
hub / github.com/csskit/csskit / from

Method from

crates/chromashift/src/lib.rs:208–210  ·  view source on GitHub ↗
(c: A98Rgb)

Source from the content-addressed store, hash-verified

206
207impl From<A98Rgb> for Color {
208 fn from(c: A98Rgb) -> Self {
209 Color::A98Rgb(c)
210 }
211}
212impl From<DisplayP3> for Color {
213 fn from(c: DisplayP3) -> Self {

Callers

nothing calls this directly

Calls 14

A98RgbClass · 0.85
DisplayP3Class · 0.85
HslClass · 0.85
HwbClass · 0.85
LabClass · 0.85
LchClass · 0.85
LinearRgbClass · 0.85
OklabClass · 0.85
OklchClass · 0.85
ProphotoRgbClass · 0.85
Rec2020Class · 0.85
SrgbClass · 0.85

Tested by

no test coverage detected