Struct syn::Delimited [−][src]
pub struct Delimited {
pub delim: DelimToken,
pub tts: Vec<TokenTree>,
}Fields
delim: DelimToken
The type of delimiter
tts: Vec<TokenTree>
The delimited sequence of token trees
Trait Implementations
impl ToTokens for Delimited[src]
impl ToTokens for Delimitedimpl Debug for Delimited[src]
impl Debug for Delimitedfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Delimited[src]
impl Clone for Delimitedfn clone(&self) -> Delimited[src]
fn clone(&self) -> DelimitedReturns 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 Eq for Delimited[src]
impl Eq for Delimitedimpl PartialEq for Delimited[src]
impl PartialEq for Delimitedfn eq(&self, other: &Delimited) -> bool[src]
fn eq(&self, other: &Delimited) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Delimited) -> bool[src]
fn ne(&self, other: &Delimited) -> boolThis method tests for !=.
impl Hash for Delimited[src]
impl Hash for Delimited