Struct swc_css_ast::NamespacePrefix
source · pub struct NamespacePrefix {
pub span: Span,
pub namespace: Option<Namespace>,
}
Fields§
§span: Span
§namespace: Option<Namespace>
Trait Implementations§
source§impl Clone for NamespacePrefix
impl Clone for NamespacePrefix
source§fn clone(&self) -> NamespacePrefix
fn clone(&self) -> NamespacePrefix
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 NamespacePrefix
impl Debug for NamespacePrefix
source§impl<'de> Deserialize<'de> for NamespacePrefix
impl<'de> Deserialize<'de> for NamespacePrefix
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 NamespacePrefix
impl EqIgnoreSpan for NamespacePrefix
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl Hash for NamespacePrefix
impl Hash for NamespacePrefix
source§impl PartialEq<NamespacePrefix> for NamespacePrefix
impl PartialEq<NamespacePrefix> for NamespacePrefix
source§fn eq(&self, other: &NamespacePrefix) -> bool
fn eq(&self, other: &NamespacePrefix) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.