laddu_python

Trait GetStrExtractObj

Source
pub trait GetStrExtractObj {
    // Required method
    fn get_extract<T>(&self, key: &str) -> PyResult<Option<T>>
       where T: for<'py> FromPyObject<'py>;
}

Required Methods§

Source

fn get_extract<T>(&self, key: &str) -> PyResult<Option<T>>
where T: for<'py> FromPyObject<'py>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl GetStrExtractObj for Bound<'_, PyDict>

Source§

fn get_extract<T>(&self, key: &str) -> PyResult<Option<T>>
where T: for<'py> FromPyObject<'py>,

Implementors§