Struct napi_derive_backend::ast::NapiEnum [−][src]
pub struct NapiEnum {
pub name: Ident,
pub js_name: String,
pub variants: Vec<NapiEnumVariant>,
pub js_mod: Option<String>,
pub comments: Vec<String>,
}Fields
name: Identjs_name: Stringvariants: Vec<NapiEnumVariant>js_mod: Option<String>comments: Vec<String>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NapiEnum
impl UnwindSafe for NapiEnum
Blanket Implementations
Mutably borrows from an owned value. Read more