#[repr(transparent)]pub struct PyDataType(pub DataType);Tuple Fields§
§0: DataTypeTrait Implementations§
Source§impl Clone for PyDataType
impl Clone for PyDataType
Source§fn clone(&self) -> PyDataType
fn clone(&self) -> PyDataType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a, 'py> FromPyObject<'a, 'py> for PyDataType
impl<'a, 'py> FromPyObject<'a, 'py> for PyDataType
Source§impl<'py> IntoPyObject<'py> for PyDataType
impl<'py> IntoPyObject<'py> for PyDataType
Source§type Output = Bound<'py, <PyDataType as IntoPyObject<'py>>::Target>
type Output = Bound<'py, <PyDataType as IntoPyObject<'py>>::Target>
The smart pointer type to use. Read more
Auto Trait Implementations§
impl Freeze for PyDataType
impl RefUnwindSafe for PyDataType
impl Send for PyDataType
impl Sync for PyDataType
impl Unpin for PyDataType
impl UnwindSafe for PyDataType
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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.