Struct dprint_swc_ecma_ast_view::TokenAndSpan [−]
Fields
token: Token
had_line_break: bool
Had a line break before this token?
span: Span
Trait Implementations
impl Clone for TokenAndSpan
impl Clone for TokenAndSpan
pub fn clone(&self) -> TokenAndSpan
pub fn clone(&self) -> TokenAndSpan
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for TokenAndSpan
impl Debug for TokenAndSpan
impl PartialEq<TokenAndSpan> for TokenAndSpan
impl PartialEq<TokenAndSpan> for TokenAndSpan
pub fn eq(&self, other: &TokenAndSpan) -> bool
pub fn eq(&self, other: &TokenAndSpan) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &TokenAndSpan) -> bool
pub fn ne(&self, other: &TokenAndSpan) -> bool
This method tests for !=
.
impl Spanned for TokenAndSpan
impl Spanned 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
Mutably borrows from an owned value. Read more