[][src]Struct augdom::testing::Found

pub struct Found<'find, 'pat, 'node, N> { /* fields omitted */ }

The final description of a subtree query. The methods on this struct execute the underlying search and return the results in various forms.

Implementations

impl<'find, 'pat, 'node, N> Found<'find, 'pat, 'node, N> where
    N: Dom
[src]

pub fn until(&self) -> Until<'_, 'find, 'pat, 'node, N>[src]

Wrap the query in a MutationObserver with async methods that resolve once the wrapped query could succeed or a 1 second timeout has expired.

pub fn one(&self) -> Option<N>[src]

Execute the query and return the only matching node in the queried subtree.

Panics

If more than one matching node is found.

pub fn many(&self) -> Vec<N>[src]

Execute the query and return a Vec of matching nodes in the queried subtree.

Auto Trait Implementations

impl<'find, 'pat, 'node, N> RefUnwindSafe for Found<'find, 'pat, 'node, N> where
    N: RefUnwindSafe

impl<'find, 'pat, 'node, N> Send for Found<'find, 'pat, 'node, N> where
    N: Sync

impl<'find, 'pat, 'node, N> Sync for Found<'find, 'pat, 'node, N> where
    N: Sync

impl<'find, 'pat, 'node, N> Unpin for Found<'find, 'pat, 'node, N> where
    'node: 'find, 

impl<'find, 'pat, 'node, N> UnwindSafe for Found<'find, 'pat, 'node, N> where
    N: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.