pub struct MsDosDateTime {
pub datepart: u16,
pub timepart: u16,
}Expand description
Struct representing the date and time part of an MsDos datetime
Fields§
§datepart: u16Part representing the date
timepart: u16Part representing the time
Implementations§
Source§impl MsDosDateTime
impl MsDosDateTime
Sourcepub fn new(time: u16, date: u16) -> MsDosDateTime
pub fn new(time: u16, date: u16) -> MsDosDateTime
Constructor of an MsDos datetime, from the raw representation
Trait Implementations§
Source§impl Clone for MsDosDateTime
impl Clone for MsDosDateTime
Source§fn clone(&self) -> MsDosDateTime
fn clone(&self) -> MsDosDateTime
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MsDosDateTime
impl Debug for MsDosDateTime
impl Copy for MsDosDateTime
Auto Trait Implementations§
impl Freeze for MsDosDateTime
impl RefUnwindSafe for MsDosDateTime
impl Send for MsDosDateTime
impl Sync for MsDosDateTime
impl Unpin for MsDosDateTime
impl UnwindSafe for MsDosDateTime
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