Enum wasm_bindgen_backend::ast::ImportFunctionKind [−][src]
pub enum ImportFunctionKind { Method { class: String, ty: Type, kind: MethodKind, }, Normal, }
Expand description
The type of a function being imported
Variants
A class method
Fields of Method
class: String
The name of the class for this method, in JS
ty: Type
The type of the class for this method, in Rust
kind: MethodKind
The kind of method this is
A standard function
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ImportFunctionKind
impl !Send for ImportFunctionKind
impl !Sync for ImportFunctionKind
impl Unpin for ImportFunctionKind
impl UnwindSafe for ImportFunctionKind
Blanket Implementations
Mutably borrows from an owned value. Read more