Enum style::matching::CascadeVisitedMode
[−]
[src]
pub enum CascadeVisitedMode { Unvisited, Visited, }
Determines which styles are being cascaded currently.
Variants
Unvisited
Cascade the regular, unvisited styles.
Visited
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]
pub fn visited_dependent_only(&self) -> bool
[src]
Returns whether the cascade should filter to only visited dependent properties based on the cascade mode.
Trait Implementations
impl Clone for CascadeVisitedMode
[src]
fn clone(&self) -> CascadeVisitedMode
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for CascadeVisitedMode
[src]
impl Debug for CascadeVisitedMode
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more