Struct syntax::parse::lexer::TokenAndSpanUnstable
[-] [+]
[src]
pub struct TokenAndSpan { pub tok: Token, pub sp: Span, }
Fields
tok | |
sp |
pub struct TokenAndSpan { pub tok: Token, pub sp: Span, }
tok | |
sp |
impl Debug for TokenAndSpan
impl Eq for TokenAndSpan
fn assert_receiver_is_total_eq(&self)
impl PartialEq for TokenAndSpan
fn eq(&self, __arg_0: &TokenAndSpan) -> bool
fn ne(&self, __arg_0: &TokenAndSpan) -> bool
impl Clone for TokenAndSpan
fn clone(&self) -> TokenAndSpan
fn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).