pub struct Time {
pub hour: u16,
pub min: u16,
pub sec: u16,
pub millis: u16,
}
Expand description
A DOS compatible time.
Used by DirEntry
time-related methods.
Fields§
§hour: u16
Hours after midnight - [0, 23]
min: u16
Minutes after the hour - [0, 59]
sec: u16
Seconds after the minute - [0, 59]
millis: u16
Milliseconds after the second - [0, 999]
Trait Implementations§
impl Copy for Time
impl Eq for Time
impl StructuralPartialEq for Time
Auto Trait Implementations§
impl Freeze for Time
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)