Trait cpython::RefFromPyObject [] [src]

pub trait RefFromPyObject {
    fn with_extracted<F, R>(py: Python, obj: &PyObject, f: F) -> PyResult<R>
    where
        F: FnOnce(&Self) -> R
; }

Required Methods

Implementations on Foreign Types

impl RefFromPyObject for str
[src]

[src]

Implementors