pub struct Element;
Expand description
Matches any Element Node.
Trait Implementations§
Source§impl Predicate for Element
impl Predicate for Element
fn matches(&self, node: &Node<'_>) -> bool
fn or<T: Predicate>(self, other: T) -> Or<Self, T>where
Self: Sized,
fn and<T: Predicate>(self, other: T) -> And<Self, T>where
Self: Sized,
fn not(self) -> Not<Self>where
Self: Sized,
fn child<T: Predicate>(self, other: T) -> Child<Self, T>where
Self: Sized,
fn descendant<T: Predicate>(self, other: T) -> Descendant<Self, T>where
Self: Sized,
impl Copy for Element
impl Eq for Element
impl StructuralPartialEq for Element
Auto Trait Implementations§
impl Freeze for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnwindSafe for Element
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more