Struct style::properties::style_structs::Color [] [src]

pub struct Color {
    pub color: T,
}

The Color style struct.

Fields

The color computed value.

Methods

impl Color
[src]

[src]

Set color.

[src]

Set color from other struct.

[src]

Reset color from the initial struct.

[src]

Get the computed value for color.

Trait Implementations

impl Clone for Color
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Color
[src]

[src]

Formats the value using the given formatter. Read more

impl MallocSizeOf for Color
[src]

[src]

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more

impl PartialEq for Color
[src]

[src]

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

[src]

This method tests for !=.