Skip to main content

pyobject_to_fill_model_any

Function pyobject_to_fill_model_any 

Source
pub fn pyobject_to_fill_model_any(
    obj: &Bound<'_, PyAny>,
) -> PyResult<FillModelAny>
Expand description

Extracts a Python fill model object into a Rust FillModelAny.

ยงErrors

Returns an error if obj is neither a supported built-in model nor a Python object with is_limit_filled and is_slipped methods.