#[repr(C)]pub struct _PyDateTime_BaseTime {
pub ob_base: PyObject,
pub hashcode: isize,
pub hastzinfo: i8,
pub data: [u8; 6],
}
Expand description
Structure representing a datetime.time
without a tzinfo
member.
Fields§
§ob_base: PyObject
§hashcode: isize
§hastzinfo: i8
§data: [u8; 6]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for _PyDateTime_BaseTime
impl RefUnwindSafe for _PyDateTime_BaseTime
impl !Send for _PyDateTime_BaseTime
impl !Sync for _PyDateTime_BaseTime
impl Unpin for _PyDateTime_BaseTime
impl UnwindSafe for _PyDateTime_BaseTime
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