Struct winstructs::timestamp::DosDateTime
source · pub struct DosDateTime { /* private fields */ }
Implementations§
source§impl DosDateTime
impl DosDateTime
pub fn new(date: u16, time: u16) -> Self
pub fn from_reader<R: Read>(buffer: &mut R) -> Result<DosDateTime>
pub fn to_datetime(&self) -> NaiveDateTime
Trait Implementations§
source§impl Clone for DosDateTime
impl Clone for DosDateTime
source§fn clone(&self) -> DosDateTime
fn clone(&self) -> DosDateTime
Returns a copy 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 DosDateTime
impl Debug for DosDateTime
source§impl Display for DosDateTime
impl Display for DosDateTime
Auto Trait Implementations§
impl RefUnwindSafe for DosDateTime
impl Send for DosDateTime
impl Sync for DosDateTime
impl Unpin for DosDateTime
impl UnwindSafe for DosDateTime
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