Skip to main content

register_structured_module

Function register_structured_module 

Source
pub fn register_structured_module(
    _py: Python<'_>,
    m: &Bound<'_, PyModule>,
) -> PyResult<()>
Expand description

Register structured dtype classes into a PyO3 module.

Call this from your #[pymodule] init function to expose DtypeField, StructuredDtype, and StructuredArray.