Skip to main content

Module generators

Module generators 

Source

Re-exports§

pub use binding_helpers::gen_async_body;
pub use binding_helpers::gen_call_args;
pub use binding_helpers::gen_call_args_with_let_bindings;
pub use binding_helpers::gen_lossy_binding_to_core_fields;
pub use binding_helpers::gen_named_let_bindings_pub;
pub use binding_helpers::gen_serde_let_bindings;
pub use binding_helpers::gen_unimplemented_body;
pub use binding_helpers::has_named_params;
pub use binding_helpers::is_simple_non_opaque_param;
pub use binding_helpers::wrap_return;
pub use enums::enum_has_data_variants;
pub use enums::gen_enum;
pub use enums::gen_pyo3_data_enum;
pub use functions::collect_trait_imports;
pub use functions::gen_function;
pub use methods::gen_constructor;
pub use methods::gen_impl_block;
pub use methods::gen_method;
pub use methods::gen_opaque_impl_block;
pub use methods::gen_static_method;
pub use methods::is_trait_method_name;
pub use structs::gen_opaque_struct;
pub use structs::gen_opaque_struct_prefixed;
pub use structs::gen_struct;
pub use structs::gen_struct_default_impl;
pub use structs::gen_struct_with_per_field_attrs;

Modules§

binding_helpers
enums
functions
methods
structs

Structs§

RustBindingConfig
Configuration for Rust binding code generation.

Enums§

AsyncPattern
Async support pattern for the backend.

Type Aliases§

AdapterBodies
Map of adapter-generated method/function bodies. Key: “TypeName.method_name” for methods, “function_name” for free functions.