pub struct DicomTime {
pub hour: u8,
pub minute: u8,
pub second: u8,
pub fraction: u32,
}Expand description
A DICOM TM (Time) value: HHMMSS.FFFFFF, with optional components.
Partial times are allowed: HH, HHMM, HHMMSS, HHMMSS.F{1-6}.
Missing components are stored as 0.
Fields§
§hour: u8§minute: u8§second: u8§fraction: u32Fractional seconds in microseconds (0–999999).
Implementations§
Trait Implementations§
impl Copy for DicomTime
impl Eq for DicomTime
impl StructuralPartialEq for DicomTime
Auto Trait Implementations§
impl Freeze for DicomTime
impl RefUnwindSafe for DicomTime
impl Send for DicomTime
impl Sync for DicomTime
impl Unpin for DicomTime
impl UnsafeUnpin for DicomTime
impl UnwindSafe for DicomTime
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> 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.