Struct crankstart_sys::PDDateTime
source · #[repr(C)]pub struct PDDateTime {
pub year: u16,
pub month: u8,
pub day: u8,
pub weekday: u8,
pub hour: u8,
pub minute: u8,
pub second: u8,
}
Fields§
§year: u16
§month: u8
§day: u8
§weekday: u8
§hour: u8
§minute: u8
§second: u8
Trait Implementations§
source§impl Clone for PDDateTime
impl Clone for PDDateTime
source§fn clone(&self) -> PDDateTime
fn clone(&self) -> PDDateTime
Returns a copy 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 Debug for PDDateTime
impl Debug for PDDateTime
source§impl Default for PDDateTime
impl Default for PDDateTime
source§fn default() -> PDDateTime
fn default() -> PDDateTime
Returns the “default value” for a type. Read more
source§impl PartialEq<PDDateTime> for PDDateTime
impl PartialEq<PDDateTime> for PDDateTime
source§fn eq(&self, other: &PDDateTime) -> bool
fn eq(&self, other: &PDDateTime) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PDDateTime
impl Eq for PDDateTime
impl StructuralEq for PDDateTime
impl StructuralPartialEq for PDDateTime
Auto Trait Implementations§
impl RefUnwindSafe for PDDateTime
impl Send for PDDateTime
impl Sync for PDDateTime
impl Unpin for PDDateTime
impl UnwindSafe for PDDateTime
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