pub struct Time {
pub date: u8,
pub hour: u8,
pub minute: u8,
}
Expand description
A struct to store time as it is represented in a METAR
Fields§
§date: u8
The date the METAR was made
hour: u8
The hour the METAR was made
minute: u8
The minute the METAR was made
Trait Implementations§
source§impl PartialEq for Time
impl PartialEq for Time
impl Eq for Time
impl StructuralEq for Time
impl StructuralPartialEq for Time
Auto Trait Implementations§
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnwindSafe for Time
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