[−][src]Trait cpython::RefFromPyObject
Required methods
fn with_extracted<F, R>(py: Python, obj: &PyObject, f: F) -> PyResult<R> where
F: FnOnce(&Self) -> R,
F: FnOnce(&Self) -> R,
Implementations on Foreign Types
impl RefFromPyObject for str
[src]
fn with_extracted<F, R>(py: Python, obj: &PyObject, f: F) -> PyResult<R> where
F: FnOnce(&str) -> R,
[src]
F: FnOnce(&str) -> R,
impl RefFromPyObject for [u8]
[src]
fn with_extracted<F, R>(py: Python, obj: &PyObject, f: F) -> PyResult<R> where
F: FnOnce(&[u8]) -> R,
[src]
F: FnOnce(&[u8]) -> R,
Implementors
impl<T: ?Sized> RefFromPyObject for T where
&'a T: FromPyObject<'a>,
[src]
&'a T: FromPyObject<'a>,