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