#[repr(C)]pub struct stat {Show 17 fields
pub st_dev: __dev_t,
pub __pad1: c_ushort,
pub st_ino: __ino_t,
pub st_mode: __mode_t,
pub st_nlink: __nlink_t,
pub st_uid: __uid_t,
pub st_gid: __gid_t,
pub st_rdev: __dev_t,
pub __pad2: c_ushort,
pub st_size: __off_t,
pub st_blksize: __blksize_t,
pub st_blocks: __blkcnt_t,
pub st_atim: timespec,
pub st_mtim: timespec,
pub st_ctim: timespec,
pub __glibc_reserved4: c_ulong,
pub __glibc_reserved5: c_ulong,
}Fields
st_dev: __dev_t__pad1: c_ushortst_ino: __ino_tst_mode: __mode_tst_nlink: __nlink_tst_uid: __uid_tst_gid: __gid_tst_rdev: __dev_t__pad2: c_ushortst_size: __off_tst_blksize: __blksize_tst_blocks: __blkcnt_tst_atim: timespecst_mtim: timespecst_ctim: timespec__glibc_reserved4: c_ulong__glibc_reserved5: c_ulongTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for stat
impl Send for stat
impl Sync for stat
impl Unpin for stat
impl UnwindSafe for stat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more