Struct pyo3::ffi::PyDateTime_Date
source · #[repr(C)]pub struct PyDateTime_Date {
pub ob_base: PyObject,
pub hashcode: isize,
pub hastzinfo: i8,
pub data: [u8; 4],
}
Expand description
Structure representing a datetime.date
Fields§
§ob_base: PyObject
§hashcode: isize
§hastzinfo: i8
§data: [u8; 4]
Trait Implementations§
source§impl Debug for PyDateTime_Date
impl Debug for PyDateTime_Date
impl PyLayout<PyDate> for PyDateTime_Date
impl PySizedLayout<PyDate> for PyDateTime_Date
Auto Trait Implementations§
impl Freeze for PyDateTime_Date
impl RefUnwindSafe for PyDateTime_Date
impl !Send for PyDateTime_Date
impl !Sync for PyDateTime_Date
impl Unpin for PyDateTime_Date
impl UnwindSafe for PyDateTime_Date
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> 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 more