#[repr(C)]pub struct Stat {
pub file_size: u64,
pub ctime: Time,
pub mtime: Time,
pub attr: Attributes,
}Expand description
Describes a file on disk.
This is set up for 8.3 filenames on MS-DOS FAT32 partitions currently.
Fields§
§file_size: u64How big is this file
ctime: TimeWhen was the file created
mtime: TimeWhen was the last modified
attr: AttributesFile attributes (Directory, Volume, etc)
Trait Implementations§
impl Eq for Stat
impl StructuralPartialEq for Stat
Auto Trait Implementations§
impl Freeze for Stat
impl RefUnwindSafe for Stat
impl Send for Stat
impl Sync for Stat
impl Unpin for Stat
impl UnwindSafe for Stat
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