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 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 ==
.source§impl Spanned for CustomHighlightName
impl Spanned for CustomHighlightName
impl Eq for CustomHighlightName
impl StructuralEq for CustomHighlightName
impl StructuralPartialEq for CustomHighlightName
Auto Trait Implementations§
impl RefUnwindSafe for CustomHighlightName
impl Send for CustomHighlightName
impl Sync for CustomHighlightName
impl Unpin for CustomHighlightName
impl UnwindSafe for CustomHighlightName
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