Struct wasm_bindgen_backend::ast::Enum [−][src]
Fields
name: Ident
variants: Vec<Variant>
comments: Vec<String>
Trait Implementations
impl Clone for Enum
[src]
impl Clone for Enum
fn clone(&self) -> Enum
[src]
fn clone(&self) -> Enum
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 ToTokens for Enum
[src]
impl ToTokens for Enum
fn to_tokens(&self, into: &mut TokenStream)
[src]
fn to_tokens(&self, into: &mut TokenStream)
Write self
to the given TokenStream
. Read more
fn into_token_stream(self) -> TokenStream
[src]
fn into_token_stream(self) -> TokenStream
Convert self
directly into a TokenStream
object. Read more