Struct wasm_bindgen_backend::ast::Enum[][src]

pub struct Enum {
    pub name: Ident,
    pub variants: Vec<Variant>,
    pub comments: Vec<String>,
}

Fields

Trait Implementations

impl Clone for Enum
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl ToTokens for Enum
[src]

Write self to the given TokenStream. Read more

Convert self directly into a TokenStream object. Read more

Auto Trait Implementations

impl !Send for Enum

impl !Sync for Enum