#[repr(C)]pub struct stat {Show 14 fields
pub st_dev: dev_t,
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 st_size: off_t,
pub st_atim: timespec,
pub st_mtim: timespec,
pub st_ctim: timespec,
pub st_blksize: blksize_t,
pub st_blocks: blkcnt_t,
pub st_spare4: [c_long; 2],
}
Fields§
§st_dev: dev_t
§st_ino: ino_t
§st_mode: mode_t
§st_nlink: nlink_t
§st_uid: uid_t
§st_gid: gid_t
§st_rdev: dev_t
§st_size: off_t
§st_atim: timespec
§st_mtim: timespec
§st_ctim: timespec
§st_blksize: blksize_t
§st_blocks: blkcnt_t
§st_spare4: [c_long; 2]
Trait Implementations§
impl Copy 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 88 bytes