pub struct Arro3Schema(/* private fields */);
Expand description
A wrapper around a PySchema that implements IntoPyObject to convert to a
runtime-available arro3.core.Schema
.
This ensures that we return data with the user’s runtime-provided (dynamically-linked)
arro3.core.Schema
and not the one statically linked from Rust.
Trait Implementations§
Source§impl Debug for Arro3Schema
impl Debug for Arro3Schema
Source§impl From<PySchema> for Arro3Schema
impl From<PySchema> for Arro3Schema
Source§impl From<Schema> for Arro3Schema
impl From<Schema> for Arro3Schema
Source§impl<'py> IntoPyObject<'py> for Arro3Schema
impl<'py> IntoPyObject<'py> for Arro3Schema
Auto Trait Implementations§
impl Freeze for Arro3Schema
impl RefUnwindSafe for Arro3Schema
impl Send for Arro3Schema
impl Sync for Arro3Schema
impl Unpin for Arro3Schema
impl UnwindSafe for Arro3Schema
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.