Struct swc_css_ast::CustomIdent
source · pub struct CustomIdent {
pub span: Span,
pub value: JsWord,
pub raw: Option<Atom>,
}
Fields§
§span: Span
§value: JsWord
§raw: Option<Atom>
Trait Implementations§
source§impl Clone for CustomIdent
impl Clone for CustomIdent
source§fn clone(&self) -> CustomIdent
fn clone(&self) -> CustomIdent
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 CustomIdent
impl Debug for CustomIdent
source§impl<'de> Deserialize<'de> for CustomIdent
impl<'de> Deserialize<'de> for CustomIdent
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 EqIgnoreSpan for CustomIdent
impl EqIgnoreSpan for CustomIdent
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl From<CustomIdent> for AtRulePrelude
impl From<CustomIdent> for AtRulePrelude
source§fn from(v: CustomIdent) -> Self
fn from(v: CustomIdent) -> Self
Converts to this type from the input type.
source§impl From<CustomIdent> for ContainerName
impl From<CustomIdent> for ContainerName
source§fn from(v: CustomIdent) -> Self
fn from(v: CustomIdent) -> Self
Converts to this type from the input type.
source§impl Hash for CustomIdent
impl Hash for CustomIdent
source§impl PartialEq<CustomIdent> for CustomIdent
impl PartialEq<CustomIdent> for CustomIdent
source§fn eq(&self, other: &CustomIdent) -> bool
fn eq(&self, other: &CustomIdent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.