pub enum MatchesFeaturelessHost {
Yes,
Only,
Never,
}
Expand description
Whether a selector may match a featureless host element, and whether it may match other elements.
Variants§
Yes
The selector may match a featureless host, but also a non-featureless element.
Only
The selector is guaranteed to never match a non-featureless host element.
Never
The selector never matches a featureless host.
Implementations§
Trait Implementations§
Source§impl Clone for MatchesFeaturelessHost
impl Clone for MatchesFeaturelessHost
Source§fn clone(&self) -> MatchesFeaturelessHost
fn clone(&self) -> MatchesFeaturelessHost
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 Debug for MatchesFeaturelessHost
impl Debug for MatchesFeaturelessHost
Source§impl PartialEq for MatchesFeaturelessHost
impl PartialEq for MatchesFeaturelessHost
impl Copy for MatchesFeaturelessHost
impl Eq for MatchesFeaturelessHost
impl StructuralPartialEq for MatchesFeaturelessHost
Auto Trait Implementations§
impl Freeze for MatchesFeaturelessHost
impl RefUnwindSafe for MatchesFeaturelessHost
impl Send for MatchesFeaturelessHost
impl Sync for MatchesFeaturelessHost
impl Unpin for MatchesFeaturelessHost
impl UnwindSafe for MatchesFeaturelessHost
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