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 moreimpl Copy for RelativeSelectorMatchHint
impl Eq for RelativeSelectorMatchHint
impl StructuralPartialEq for RelativeSelectorMatchHint
Auto Trait Implementations§
impl Freeze for RelativeSelectorMatchHint
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