Enum wasm_bindgen_backend::ast::ImportKind [−][src]
pub enum ImportKind { Function(ImportFunction), Static(ImportStatic), Type(ImportType), Enum(ImportEnum), }
The type of item being imported
Variants
Function(ImportFunction)
Importing a function
Static(ImportStatic)
Importing a static value
Type(ImportType)
Importing a type/class
Enum(ImportEnum)
Importing a JS enum
Implementations
impl ImportKind
[src]
impl ImportKind
[src]pub fn fits_on_impl(&self) -> bool
[src]
Whether this type can be inside an impl
block.
Trait Implementations
impl Clone for ImportKind
[src]
impl Clone for ImportKind
[src]fn clone(&self) -> ImportKind
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl TryToTokens for ImportKind
[src]
impl TryToTokens for ImportKind
[src]