Skip to main content

py_register_tick_scheme

Function py_register_tick_scheme 

Source
pub fn py_register_tick_scheme(tick_scheme: &Bound<'_, PyAny>) -> PyResult<()>
Expand description

Registers a named tick scheme for the lifetime of the process.

Names are trimmed and matched without regard to ASCII case. Registered names, including built-in names and aliases, cannot be replaced or removed.

ยงErrors

Returns an error if the name is invalid or already registered.