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