pub struct DicomDate {
pub year: u16,
pub month: u8,
pub day: u8,
}Expand description
A DICOM DA (Date) value: YYYYMMDD, with optional month and day.
Partial dates are represented by leaving month and/or day as 0.
Fields§
§year: u16§month: u80 when not specified (partial date contains year only).
day: u80 when not specified (partial date contains year+month only).
Implementations§
Trait Implementations§
Source§impl Ord for DicomDate
impl Ord for DicomDate
Source§impl PartialOrd for DicomDate
impl PartialOrd for DicomDate
impl Copy for DicomDate
impl Eq for DicomDate
impl StructuralPartialEq for DicomDate
Auto Trait Implementations§
impl Freeze for DicomDate
impl RefUnwindSafe for DicomDate
impl Send for DicomDate
impl Sync for DicomDate
impl Unpin for DicomDate
impl UnsafeUnpin for DicomDate
impl UnwindSafe for DicomDate
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.