Enum style::servo::selector_parser::NonTSPseudoClass [] [src]

pub enum NonTSPseudoClass {
    Active,
    AnyLink,
    Checked,
    Disabled,
    Enabled,
    Focus,
    Fullscreen,
    Hover,
    Indeterminate,
    Lang(PseudoClassStringArg),
    Link,
    PlaceholderShown,
    ReadWrite,
    ReadOnly,
    ServoNonZeroBorder,
    ServoCaseSensitiveTypeAttr(Atom),
    Target,
    Visited,
}

A non tree-structural pseudo-class. See https://drafts.csswg.org/selectors-4/#structural-pseudos

Variants

Methods

impl NonTSPseudoClass
[src]

[src]

Gets a given state flag for this pseudo-class. This is used to do selector matching, and it's set from the DOM.

[src]

Get the document state flag associated with a pseudo-class, if any.

[src]

Returns true if the given pseudoclass should trigger style sharing cache revalidation.

[src]

Returns true if the evaluation of the pseudo-class depends on the element's attributes.

Trait Implementations

impl Clone for NonTSPseudoClass
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for NonTSPseudoClass
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for NonTSPseudoClass
[src]

impl Hash for NonTSPseudoClass
[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 PartialEq for NonTSPseudoClass
[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 MallocSizeOf for NonTSPseudoClass
[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 ToCss for NonTSPseudoClass
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

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

impl SelectorMethods for NonTSPseudoClass
[src]

[src]