Enum futures_await_syn::VariantData
[−]
[src]
pub enum VariantData { Struct(Delimited<Field, Comma>, Brace), Tuple(Delimited<Field, Comma>, Paren), Unit, }
Data stored within an enum variant or struct.
Variants
Struct(Delimited<Field, Comma>, Brace)
Struct variant, e.g. Point { x: f64, y: f64 }
.
Tuple(Delimited<Field, Comma>, Paren)
Tuple variant, e.g. Some(T)
.
Unit
Unit variant, e.g. None
.
Trait Implementations
impl ToTokens for VariantData
[src]
fn to_tokens(&self, tokens: &mut Tokens)
[src]
Write self
to the given Tokens
. Read more
fn into_tokens(self) -> Tokens
[src]
Convert self
directly into a Tokens
object. Read more
impl Clone for VariantData
[src]
fn clone(&self) -> VariantData
[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