Enum style::properties::declaration_block::DeclarationSource [] [src]

pub enum DeclarationSource {
    Parsing,
    CssOm,
}

Whether a given declaration comes from CSS parsing, or from CSSOM.

Variants

The declaration was obtained from CSS parsing of sheets and such.

The declaration was obtained from CSSOM.

Trait Implementations

impl Clone for DeclarationSource
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for DeclarationSource
[src]

impl Debug for DeclarationSource
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for DeclarationSource
[src]

impl Hash for DeclarationSource
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl MallocSizeOf for DeclarationSource
[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 DeclarationSource
[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 !=.