Struct proc_macro2::Group
[−]
[src]
pub struct Group { /* fields omitted */ }
Methods
impl Group
[src]
pub fn new(delimiter: Delimiter, stream: TokenStream) -> Group
[src]
pub fn delimiter(&self) -> Delimiter
[src]
pub fn stream(&self) -> TokenStream
[src]
pub fn span(&self) -> Span
[src]
pub fn set_span(&mut self, span: Span)
[src]
Trait Implementations
impl From<Group> for TokenTree
[src]
impl Clone for Group
[src]
fn clone(&self) -> Group
[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 Display for Group
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more