pub enum RelativeSelectorMatchHint {
InSubtree,
InChild,
InNextSibling,
InNextSiblingSubtree,
InSibling,
InSiblingSubtree,
}
Expand description
Flag indicating where a given relative selector’s match would be contained.
Variants§
InSubtree
Within this element’s subtree.
InChild
Within this element’s direct children.
InNextSibling
This element’s next sibling.
InNextSiblingSubtree
Within this element’s next sibling’s subtree.
InSibling
Within this element’s subsequent siblings.
InSiblingSubtree
Across this element’s subsequent siblings and their subtrees.
Trait Implementations§
source§impl Clone for RelativeSelectorMatchHint
impl Clone for RelativeSelectorMatchHint
source§fn clone(&self) -> RelativeSelectorMatchHint
fn clone(&self) -> RelativeSelectorMatchHint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<RelativeSelectorMatchHint> for RelativeSelectorMatchHint
impl PartialEq<RelativeSelectorMatchHint> for RelativeSelectorMatchHint
source§fn eq(&self, other: &RelativeSelectorMatchHint) -> bool
fn eq(&self, other: &RelativeSelectorMatchHint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RelativeSelectorMatchHint
impl Eq for RelativeSelectorMatchHint
impl StructuralEq for RelativeSelectorMatchHint
impl StructuralPartialEq for RelativeSelectorMatchHint
Auto Trait Implementations§
impl RefUnwindSafe for RelativeSelectorMatchHint
impl Send for RelativeSelectorMatchHint
impl Sync for RelativeSelectorMatchHint
impl Unpin for RelativeSelectorMatchHint
impl UnwindSafe for RelativeSelectorMatchHint
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