[][src]Trait cpython::RefFromPyObject

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

Required methods

fn with_extracted<F, R>(py: Python, obj: &PyObject, f: F) -> PyResult<R> where
    F: FnOnce(&Self) -> R, 

Loading content...

Implementations on Foreign Types

impl RefFromPyObject for str[src]

impl RefFromPyObject for [u8][src]

Loading content...

Implementors

impl<T: ?Sized> RefFromPyObject for T where
    &'a T: FromPyObject<'a>, 
[src]

Loading content...