Struct palette::rgb::standards::srgb::Srgb [] [src]

pub struct Srgb;

The sRGB color space.

Trait Implementations

impl Copy for Srgb
[src]

impl Clone for Srgb
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Srgb
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Srgb
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for Srgb
[src]

impl Primaries for Srgb
[src]

[src]

Primary red.

[src]

Primary green.

[src]

Primary blue.

impl RgbSpace for Srgb
[src]

The primaries of the RGB color space.

The white point of the RGB color space.

impl RgbStandard for Srgb
[src]

The RGB color space.

The transfer function for the color components.

impl TransferFn for Srgb
[src]

[src]

Convert the color component x into linear space.

[src]

Convert the color component x from linear space.