Enum ezno_parser::type_references::TupleElement
source · pub enum TupleElement {
NonSpread {
name: Option<String>,
ty: TypeReference,
},
Spread {
name: Option<String>,
ty: TypeReference,
},
}Variants§
Trait Implementations§
source§impl Clone for TupleElement
impl Clone for TupleElement
source§fn clone(&self) -> TupleElement
fn clone(&self) -> TupleElement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TupleElement
impl Debug for TupleElement
source§impl PartialEq<TupleElement> for TupleElement
impl PartialEq<TupleElement> for TupleElement
source§fn eq(&self, other: &TupleElement) -> bool
fn eq(&self, other: &TupleElement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl SelfRustTokenize for TupleElement
impl SelfRustTokenize for TupleElement
fn append_to_token_stream(&self, token_stream: &mut TokenStream)
source§fn to_tokens(&self) -> TokenStream
fn to_tokens(&self) -> TokenStream
Returns the tokens used to construct self