Enum style::matching::CascadeVisitedMode [] [src]

pub enum CascadeVisitedMode {
    Unvisited,
    Visited,
}

Determines which styles are being cascaded currently.

Variants

Cascade the regular, unvisited styles.

Cascade the styles used when an element's relevant link is visited. A "relevant link" is the element being matched if it is a link or the nearest ancestor link.

Methods

impl CascadeVisitedMode
[src]

[src]

Returns whether the cascade should filter to only visited dependent properties based on the cascade mode.

Trait Implementations

impl Clone for CascadeVisitedMode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for CascadeVisitedMode
[src]

impl Debug for CascadeVisitedMode
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for CascadeVisitedMode
[src]

impl PartialEq for CascadeVisitedMode
[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 !=.