Struct style::invalidation::element::element_wrapper::ElementWrapper [] [src]

pub struct ElementWrapper<'a, E> where
    E: TElement
{ /* fields omitted */ }

A simple wrapper over an element and a snapshot, that allows us to selector-match against a past state of the element.

Methods

impl<'a, E> ElementWrapper<'a, E> where
    E: TElement
[src]

[src]

Trivially constructs an ElementWrapper.

[src]

Gets the snapshot associated with this element, if any.

[src]

Returns the states that have changed since the element was snapshotted.

Trait Implementations

impl<'a, E: Clone> Clone for ElementWrapper<'a, E> where
    E: TElement
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a, E> Debug for ElementWrapper<'a, E> where
    E: TElement
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a, E> Element for ElementWrapper<'a, E> where
    E: TElement
[src]

[src]

[src]

Whether this element is a link.

[src]

Converts self into an opaque representation.

[src]

[src]

Skips non-element nodes

[src]

Skips non-element nodes

[src]

Skips non-element nodes

[src]

Skips non-element nodes

[src]

[src]

[src]

Empty string for no namespace

[src]

[src]

[src]

[src]

Returns whether this element matches :empty. Read more

[src]

Returns whether this element matches :root, i.e. whether it is the root element of a document. Read more

[src]

The parent of a given pseudo-element, after matching a pseudo-element selector. Read more

[src]

Return true if we want to stop lookup ancestor of the current element while matching complex selectors with descendant/child combinator. Read more

[src]

Returns the assigned element this element is assigned to. Read more

[src]

Returns whether this element should ignore matching nth child selector. Read more