Struct libc_interface::stat [−][src]
#[repr(C)]pub struct stat { pub st_dev: dev_t, pub st_ino: ino_t, pub st_nlink: nlink_t, pub st_mode: mode_t, pub st_uid: uid_t, pub st_gid: gid_t, pub st_rdev: dev_t, pub st_size: off_t, pub st_blksize: blksize_t, pub st_blocks: blkcnt_t, pub st_atime: time_t, pub st_atime_nsec: i64, pub st_mtime: time_t, pub st_mtime_nsec: i64, pub st_ctime: time_t, pub st_ctime_nsec: i64, // some fields omitted }
Fields
st_dev: dev_t
st_ino: ino_t
st_nlink: nlink_t
st_mode: mode_t
st_uid: uid_t
st_gid: gid_t
st_rdev: dev_t
st_size: off_t
st_blksize: blksize_t
st_blocks: blkcnt_t
st_atime: time_t
st_atime_nsec: i64
st_mtime: time_t
st_mtime_nsec: i64
st_ctime: time_t
st_ctime_nsec: i64
Trait Implementations
impl Copy for stat
[src]
impl Copy for stat
impl Clone for stat
[src]
impl Clone for stat
fn clone(&self) -> stat
[src]
fn clone(&self) -> stat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for stat
[src]
impl PartialEq for stat
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for stat
[src]
impl Eq for stat