pub struct Arro3ArrayReader(/* private fields */);
Expand description
A wrapper around a PyArrayReader that implements IntoPyObject to convert to a
runtime-available arro3.core.ArrayReader
.
This ensures that we return data with the user’s runtime-provided (dynamically-linked)
arro3.core.ArrayReader
and not the one statically linked from Rust.
Trait Implementations§
Source§impl From<PyArrayReader> for Arro3ArrayReader
impl From<PyArrayReader> for Arro3ArrayReader
Source§fn from(value: PyArrayReader) -> Self
fn from(value: PyArrayReader) -> Self
Converts to this type from the input type.
Source§impl<'py> IntoPyObject<'py> for Arro3ArrayReader
impl<'py> IntoPyObject<'py> for Arro3ArrayReader
Auto Trait Implementations§
impl !Freeze for Arro3ArrayReader
impl RefUnwindSafe for Arro3ArrayReader
impl Send for Arro3ArrayReader
impl Sync for Arro3ArrayReader
impl Unpin for Arro3ArrayReader
impl UnwindSafe for Arro3ArrayReader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
Source§fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
Converts
self
into an owned Python object, dropping type information.