Struct style::rule_tree::StrongRuleNode [] [src]

pub struct StrongRuleNode { /* fields omitted */ }

A strong reference to a rule node.

Methods

impl StrongRuleNode
[src]

[src]

Raw pointer to the RuleNode

[src]

Get the style source corresponding to this rule node. May return None if it's the root node, which means that the node hasn't matched any rules.

[src]

The cascade level for this node

[src]

Get the importance that this rule node represents.

Important traits for SelfAndAncestors<'a>
[src]

Get an iterator for this rule node and its ancestors.

[src]

Returns whether this node has any child, only intended for testing purposes, and called on a single-threaded fashion only.

[src]

Returns true if there is either animation or transition level rule.

[src]

Get a set of properties whose CascadeLevel are higher than Animations but not equal to Transitions.

If there are any custom properties, we set the boolean value of the returned tuple to true.

[src]

Returns SMIL override declaration block if exists.

Trait Implementations

impl Debug for StrongRuleNode
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for StrongRuleNode
[src]

impl Hash for StrongRuleNode
[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 StrongRuleNode
[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 StrongRuleNode

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more

impl Clone for StrongRuleNode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Drop for StrongRuleNode
[src]

[src]

Executes the destructor for this type. Read more