Module stub_type

Module stub_type 

Source

Modulesยง

builtins ๐Ÿ”’
Define PyStubType for built-in types based on https://pyo3.rs/v0.22.2/conversions/tables#argument-types
collections ๐Ÿ”’
either ๐Ÿ”’
numpy ๐Ÿ”’
pyo3 ๐Ÿ”’
rust_decimal ๐Ÿ”’

Structsยง

TypeInfo
Type information for creating Python stub files annotated by PyStubType trait.
TypeRef
Indicates the type of import(eg class enum). from module import type. name, type name. module, module name(which type defined).

Enumsยง

ImportRef
Indicates what to import. Module: The purpose is to import the entire module(eg import builtins). Type: The purpose is to import the types in the module(eg from moduleX import typeX).
ModuleRef

Traitsยง

PyStubType
Annotate Rust types with Python type information.