#[repr(C, packed(1))]pub struct BirthDate {
pub year: u16_,
pub month: u8_,
pub day: u8_,
}Expand description
Birth date structure
Fields§
§year: u16_§month: u8_§day: u8_Trait Implementations§
impl Copy for BirthDate
Auto Trait Implementations§
impl Freeze for BirthDate
impl RefUnwindSafe for BirthDate
impl Send for BirthDate
impl Sync for BirthDate
impl Unpin for BirthDate
impl UnwindSafe for BirthDate
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)