Struct style::dom_apis::QueryFirst
[−]
[src]
pub struct QueryFirst;
A query for the first in-tree match of all the elements in a subtree.
Trait Implementations
impl<E: TElement> SelectorQuery<E> for QueryFirst
[src]
type Output = Option<E>
The output of the query.
fn should_stop_after_first_match() -> bool
[src]
Whether the query should stop after the first element has been matched.
fn append_element(output: &mut Self::Output, element: E)
[src]
Append an element matching after the first query.
fn is_empty(output: &Self::Output) -> bool
[src]
Returns true if the output is empty.