Struct proc_macro2::Group [−][src]
pub struct Group { /* fields omitted */ }
Methods
impl Group
[src]
impl Group
pub fn new(delimiter: Delimiter, stream: TokenStream) -> Group
[src]
pub fn new(delimiter: Delimiter, stream: TokenStream) -> Group
pub fn delimiter(&self) -> Delimiter
[src]
pub fn delimiter(&self) -> Delimiter
pub fn stream(&self) -> TokenStream
[src]
pub fn stream(&self) -> TokenStream
pub fn span(&self) -> Span
[src]
pub fn span(&self) -> Span
pub fn set_span(&mut self, span: Span)
[src]
pub fn set_span(&mut self, span: Span)
Trait Implementations
impl From<Group> for TokenTree
[src]
impl From<Group> for TokenTree
impl Clone for Group
[src]
impl Clone for Group
fn clone(&self) -> Group
[src]
fn clone(&self) -> Group
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 Display for Group
[src]
impl Display for Group
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 Debug for Group
[src]
impl Debug for Group