Enum css::domain::selectors::NonTreeStructuralPseudoClass [] [src]

pub enum NonTreeStructuralPseudoClass {
    active,
    any(Option<VendorPrefix>, DeduplicatedSelectors),
    any_link(Option<VendorPrefix>),
    case_sensitive_type_attr(Option<VendorPrefix>, Atom),
    checked,
    default,
    dir(Option<VendorPrefix>, TextDirectionality),
    disabled,
    enabled,
    first,
    focus,
    focus_within,
    in_range,
    invalid,
    fullscreen(Option<VendorPrefix>),
    hover,
    indeterminate,
    lang(LanguageRanges),
    left,
    link,
    non_zero_border(Option<VendorPrefix>),
    optional,
    out_of_range,
    placeholder_shown(Option<VendorPrefix>),
    read_only(Option<VendorPrefix>),
    read_write(Option<VendorPrefix>),
    required,
    right,
    target,
    valid,
    visited,
}

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

Variants

Methods

impl NonTreeStructuralPseudoClass
[src]

[src]

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

[src]

https://drafts.csswg.org/selectors-4/#useraction-pseudos

We intentionally skip the link-related ones.

Trait Implementations

impl Clone for NonTreeStructuralPseudoClass
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for NonTreeStructuralPseudoClass
[src]

[src]

Formats the value using the given formatter.

impl Eq for NonTreeStructuralPseudoClass
[src]

impl PartialEq for NonTreeStructuralPseudoClass
[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 ToCss for NonTreeStructuralPseudoClass
[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 NonTreeStructuralPseudoClass
[src]

[src]