Enum swc_css_visit::fields::SupportsOrField
source · pub enum SupportsOrField {
Span,
Keyword,
Condition,
}
Variants§
Span
Represents SupportsOr::span
Keyword
Represents SupportsOr::keyword
Condition
Represents SupportsOr::condition
Trait Implementations§
source§impl Clone for SupportsOrField
impl Clone for SupportsOrField
source§fn clone(&self) -> SupportsOrField
fn clone(&self) -> SupportsOrField
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 SupportsOrField
impl Debug for SupportsOrField
source§impl Hash for SupportsOrField
impl Hash for SupportsOrField
source§impl Ord for SupportsOrField
impl Ord for SupportsOrField
source§fn cmp(&self, other: &SupportsOrField) -> Ordering
fn cmp(&self, other: &SupportsOrField) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SupportsOrField
impl PartialEq for SupportsOrField
source§impl PartialOrd for SupportsOrField
impl PartialOrd for SupportsOrField
impl Copy for SupportsOrField
impl Eq for SupportsOrField
impl StructuralPartialEq for SupportsOrField
Auto Trait Implementations§
impl Freeze for SupportsOrField
impl RefUnwindSafe for SupportsOrField
impl Send for SupportsOrField
impl Sync for SupportsOrField
impl Unpin for SupportsOrField
impl UnwindSafe for SupportsOrField
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more