Struct wai_bindgen_gen_wasmer_py::WasmerPy
source · pub struct WasmerPy { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Generator for WasmerPy
impl Generator for WasmerPy
source§fn type_union(
&mut self,
iface: &Interface,
_id: TypeId,
name: &str,
union: &Union,
docs: &Docs
)
fn type_union( &mut self, iface: &Interface, _id: TypeId, name: &str, union: &Union, docs: &Docs )
Appends a Python definition for the provided Union to the current Source
.
e.g. MyUnion = Union[float, str, int]