Attribute Macro cpy_binder::cpy_fn_py

source ·
#[cpy_fn_py]
Expand description

Macro used to export exclusive python functions

Example

#[cpy_fn_py]
#[comment = "Format size of wheels for Python"]
fn format_size_of_wheels_py(sizes: Vec<u8>) {
    println!("Wheel sizes: {:?}", sizes);
}