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