Struct pmutil::prelude::TokenTree
[−]
[src]
pub struct TokenTree {
pub span: Span,
pub kind: TokenNode,
}Fields
span: Span
kind: TokenNode
Trait Implementations
impl From<TokenNode> for TokenTree[src]
impl From<TokenTree> for TokenStream[src]
fn from(tree: TokenTree) -> TokenStream[src]
Performs the conversion.
impl Display for TokenTree[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more
impl Clone for TokenTree[src]
fn clone(&self) -> TokenTree[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for TokenTree[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more