Enum style::properties::CSSWideKeyword [] [src]

pub enum CSSWideKeyword {
    Initial,
    Inherit,
    Unset,
}

An enum to represent a CSS Wide keyword.

Variants

The initial keyword.

The inherit keyword.

The unset keyword.

Methods

impl CSSWideKeyword
[src]

[src]

Takes the result of cssparser::Parser::expect_ident() and converts it to a CSSWideKeyword.

Trait Implementations

impl Clone for CSSWideKeyword
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for CSSWideKeyword
[src]

impl Debug for CSSWideKeyword
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for CSSWideKeyword
[src]

impl MallocSizeOf for CSSWideKeyword
[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 CSSWideKeyword
[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 ToCss for CSSWideKeyword
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

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