Struct syntax::tokenstream::TokenStreamBuilder [−][src]
pub struct TokenStreamBuilder(_);
Methods
impl TokenStreamBuilder
[src]
impl TokenStreamBuilder
pub fn new() -> TokenStreamBuilder
[src]
pub fn new() -> TokenStreamBuilder
pub fn push<T: Into<TokenStream>>(&mut self, stream: T)
[src]
pub fn push<T: Into<TokenStream>>(&mut self, stream: T)
pub fn add<T: Into<TokenStream>>(self, stream: T) -> Self
[src]
pub fn add<T: Into<TokenStream>>(self, stream: T) -> Self
pub fn build(self) -> TokenStream
[src]
pub fn build(self) -> TokenStream
Trait Implementations
impl Clone for TokenStreamBuilder
[src]
impl Clone for TokenStreamBuilder
fn clone(&self) -> TokenStreamBuilder
[src]
fn clone(&self) -> TokenStreamBuilder
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
Auto Trait Implementations
impl !Send for TokenStreamBuilder
impl !Send for TokenStreamBuilder
impl !Sync for TokenStreamBuilder
impl !Sync for TokenStreamBuilder