Enum wasm_bindgen_backend::ast::ImportFunctionKind [−][src]
pub enum ImportFunctionKind {
Method {
class: String,
ty: Type,
kind: MethodKind,
},
Normal,
}The type of a function being imported
Variants
A class method
Show fields
Fields of Method
class: StringThe name of the class for this method, in JS
ty: TypeThe type of the class for this method, in Rust
kind: MethodKindThe kind of method this is
A standard function
Trait Implementations
impl Clone for ImportFunctionKind[src]
impl Clone for ImportFunctionKind[src]