Struct msdos_time::MsDosDateTime [] [src]

pub struct MsDosDateTime {
    pub datepart: u16,
    pub timepart: u16,
}

Struct representing the date and time part of an MsDos datetime

Fields

datepart: u16

Part representing the date

timepart: u16

Part representing the time

Methods

impl MsDosDateTime
[src]

fn new(time: u16, date: u16) -> MsDosDateTime

Constructor of an MsDos datetime, from the raw representation

Trait Implementations

impl Debug for MsDosDateTime
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for MsDosDateTime
[src]

fn clone(&self) -> MsDosDateTime

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for MsDosDateTime
[src]