Enum rquery::Scope [] [src]

pub enum Scope {
    DirectChild,
    IndirectChild,
}

The scope of the CompoundSelector.

Variants

Implies that the selector must be a direct descendent of the previous match (e.g. body > header).

Implies that the selector is a descendent of the previous match (e.g., body header).

Trait Implementations

impl Clone for Scope
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Scope
[src]

impl PartialEq for Scope
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Debug for Scope
[src]

[src]

Formats the value using the given formatter.