pub fn from_last_modification_time(meta: &fs::Metadata) -> FileTime {
        #[cfg(unix)]
        fn imp(meta: &fs::Metadata) -> FileTime {
            FileTime::from_os_repr(meta.mtime() as u64, meta.mtime_nsec() as u32)
        }
        #[cfg(windows)]
        fn imp(meta: &fs::Metadata) -> FileTime {
            FileTime::from_os_repr(meta.last_write_time())
        }
        imp(meta)
    }
/// Creates a new timestamp from the last modification time listed in the
/// specified metadata.
///
/// The returned value corresponds to the `mtime` field of `stat` on Unix
/// platforms and the `ftLastWriteTime` field on Windows platforms.
Creates a new timestamp from the last modification time listed in the
specified metadata.


Creates a new timestamp from the last modification time listed in the specified metadata .
pub fn from_last_modification_time(meta: &fs::Metadata) -> FileTime {
        #[cfg(unix)]
        fn imp(meta: &fs::Metadata) -> FileTime {
            FileTime::from_os_repr(meta.mtime() as u64, meta.mtime_nsec() as u32)
        }
        #[cfg(windows)]
        fn imp(meta: &fs::Metadata) -> FileTime {
            FileTime::from_os_repr(meta.last_write_time())
        }
        imp(meta)
    }
pub fn from_last_modification_time ( meta : & fs :: Metadata ) -> FileTime { # [ cfg ( unix ) ] fn imp ( meta : & fs :: Metadata ) -> FileTime { FileTime :: from_os_repr ( meta . mtime ( ) as u64 , meta . mtime_nsec ( ) as u32 ) } # [ cfg ( windows ) ] fn imp ( meta : & fs :: Metadata ) -> FileTime { FileTime :: from_os_repr ( meta . last_write_time ( ) ) } imp ( meta ) }
Creates a new timestamp from the last modification time listed in the
specified metadata.
Creates a new timestamp from the last modification time listed in the specified metadata .
meta
&fs::Metadata
meta
&fs::Metadata