Struct PyDateTime_Date
#[repr(C)]pub struct PyDateTime_Date {
pub ob_base: PyObject,
pub hashcode: isize,
pub hastzinfo: i8,
pub data: [u8; 4],
}Available on crate feature
tls only.Expand description
Structure representing a datetime.date
Fields§
§ob_base: PyObject§hashcode: isizeAvailable on non-
§PyPy only.hastzinfo: i8Available on non-
§PyPy only.data: [u8; 4]Available on non-
PyPy only.Trait Implementations§
§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 UnsafeUnpin 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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