Enum wasm_bindgen_backend::ast::TypeLocation
source · pub enum TypeLocation {
ImportArgument,
ImportRet,
ExportArgument,
ExportRet,
}Expand description
Unused, the location of a type for a function argument (import/export, argument/ret)
Variants§
ImportArgument
An imported argument (JS side type)
ImportRet
An imported return
ExportArgument
An exported argument (Rust side type)
ExportRet
An exported return
Trait Implementations§
source§impl Clone for TypeLocation
impl Clone for TypeLocation
source§fn clone(&self) -> TypeLocation
fn clone(&self) -> TypeLocation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more