Struct style::values::specified::color::ColorPropertyValue [] [src]

pub struct ColorPropertyValue(pub Color);

Specified value for the "color" property, which resolves the currentcolor keyword to the parent color instead of self's color.

Trait Implementations

impl Clone for ColorPropertyValue
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ColorPropertyValue
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for ColorPropertyValue
[src]

[src]

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

[src]

This method tests for !=.

impl ToCss for ColorPropertyValue
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

Serialize self in CSS syntax and return a string. Read more

impl ToComputedValue for ColorPropertyValue
[src]

The computed value type we're going to be converted to.

[src]

Convert a specified value to a computed value, using itself and the data inside the Context. Read more

[src]

Convert a computed value to specified value form. Read more

impl Parse for ColorPropertyValue
[src]

[src]

Parse a value of this type. Read more