Enum wasm_bindgen_backend::ast::ImportKind [−][src]
pub enum ImportKind { Function(ImportFunction), Static(ImportStatic), Type(ImportType), Enum(ImportEnum), }
Expand description
The type of item being imported
Variants
Importing a function
Tuple Fields of Function
Importing a static value
Tuple Fields of Static
0: ImportStatic
Importing a type/class
Tuple Fields of Type
0: ImportType
Importing a JS enum
Tuple Fields of Enum
0: ImportEnum
Implementations
Whether this type can be inside an impl
block.
Trait Implementations
Attempt to convert a Self
into tokens and add it to the TokenStream
Attempt to convert a Self
into a new TokenStream
Auto Trait Implementations
impl RefUnwindSafe for ImportKind
impl !Send for ImportKind
impl !Sync for ImportKind
impl Unpin for ImportKind
impl UnwindSafe for ImportKind
Blanket Implementations
Mutably borrows from an owned value. Read more