Enum rquery::Scope [] [src]

pub enum Scope {
    DirectChild,
    IndirectChild,
}

The scope of the CompoundSelector.

Variants

DirectChild

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

IndirectChild

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

Trait Implementations

impl Debug for Scope
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for Scope
[src]

fn eq(&self, __arg_0: &Scope) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Copy for Scope
[src]

impl Clone for Scope
[src]

fn clone(&self) -> Scope

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more