Enum swc_css_visit::fields::LayerNameField
source · pub enum LayerNameField {
Span,
Name(usize),
}
Expand description
This enum represents fields of LayerNameField
Variants§
Implementations§
Trait Implementations§
source§impl Clone for LayerNameField
impl Clone for LayerNameField
source§fn clone(&self) -> LayerNameField
fn clone(&self) -> LayerNameField
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 LayerNameField
impl Debug for LayerNameField
source§impl<'de> Deserialize<'de> for LayerNameField
impl<'de> Deserialize<'de> for LayerNameField
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for LayerNameField
impl Hash for LayerNameField
source§impl Ord for LayerNameField
impl Ord for LayerNameField
source§fn cmp(&self, other: &LayerNameField) -> Ordering
fn cmp(&self, other: &LayerNameField) -> 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<LayerNameField> for LayerNameField
impl PartialEq<LayerNameField> for LayerNameField
source§fn eq(&self, other: &LayerNameField) -> bool
fn eq(&self, other: &LayerNameField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<LayerNameField> for LayerNameField
impl PartialOrd<LayerNameField> for LayerNameField
source§fn partial_cmp(&self, other: &LayerNameField) -> Option<Ordering>
fn partial_cmp(&self, other: &LayerNameField) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for LayerNameField
impl Serialize for LayerNameField
impl Copy for LayerNameField
impl Eq for LayerNameField
impl StructuralEq for LayerNameField
impl StructuralPartialEq for LayerNameField
Auto Trait Implementations§
impl RefUnwindSafe for LayerNameField
impl Send for LayerNameField
impl Sync for LayerNameField
impl Unpin for LayerNameField
impl UnwindSafe for LayerNameField
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