pub enum Scope {
DirectChild,
IndirectChild,
}
Expand description
The scope of the CompoundSelector
.
Variants§
DirectChild
Implies that the selector must be a direct descendent of the previous
match (e.g. body > header
).
IndirectChild
Implies that the selector is a descendent of the previous match (e.g.,
body header
).
Trait Implementations§
impl Copy for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnwindSafe for Scope
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