#[repr(transparent)]pub struct FileTime(pub FILETIME);
Expand description
Wraps FILETIME
Tuple Fields§
§0: FILETIME
Implementations§
Source§impl FileTime
impl FileTime
Sourcepub fn to_u64(self) -> u64
pub fn to_u64(self) -> u64
Convert to raw integer
FILETIME
is 100-nanosecond intervals since January 1, 1601 (UTC), but if the high
bit is 1 there may be a different interpretation.
Sourcepub fn to_system_time_utc(self) -> Result<SystemTimeUTC, Win32Error>
pub fn to_system_time_utc(self) -> Result<SystemTimeUTC, Win32Error>
Convert to SystemTimeUTC
via FileTimeToSystemTime()
Trait Implementations§
Source§impl Ord for FileTime
impl Ord for FileTime
Source§impl PartialOrd for FileTime
impl PartialOrd for FileTime
impl Copy for FileTime
impl Eq for FileTime
Auto Trait Implementations§
impl Freeze for FileTime
impl RefUnwindSafe for FileTime
impl Send for FileTime
impl Sync for FileTime
impl Unpin for FileTime
impl UnwindSafe for FileTime
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