[−][src]Trait pyo3::conversion::IntoPyPointer
This trait allows retrieving the underlying FFI pointer from Python objects.
Required methods
fn into_ptr(self) -> *mut PyObject
Retrieves the underlying FFI pointer. Whether pointer owned or borrowed depends on implementation.
Implementations on Foreign Types
impl<T> IntoPyPointer for Option<T> where
T: IntoPyPointer,
[src]
T: IntoPyPointer,
Convert None
into a null pointer.
impl<'a, T> IntoPyPointer for &'a T where
T: AsPyPointer,
[src]
Loading content...T: AsPyPointer,
Implementors
impl IntoPyPointer for PyObject
[src]
#[must_use]fn into_ptr(self) -> *mut PyObject
[src]
Gets the underlying FFI pointer, returns a owned pointer.