Struct syntax::parse::lexer::TokenAndSpan [−][src]
Fields
tok: Token
sp: Span
Trait Implementations
impl Clone for TokenAndSpan
[src]
impl Clone for TokenAndSpan
fn clone(&self) -> TokenAndSpan
[src]
fn clone(&self) -> TokenAndSpan
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for TokenAndSpan
[src]
impl PartialEq for TokenAndSpan
fn eq(&self, other: &TokenAndSpan) -> bool
[src]
fn eq(&self, other: &TokenAndSpan) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TokenAndSpan) -> bool
[src]
fn ne(&self, other: &TokenAndSpan) -> bool
This method tests for !=
.
impl Eq for TokenAndSpan
[src]
impl Eq for TokenAndSpan
impl Debug for TokenAndSpan
[src]
impl Debug for TokenAndSpan
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for TokenAndSpan
[src]
impl Default for TokenAndSpan
Auto Trait Implementations
impl !Send for TokenAndSpan
impl !Send for TokenAndSpan
impl !Sync for TokenAndSpan
impl !Sync for TokenAndSpan