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