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