1 #[repr(C)]
2 #[cfg_attr(feature = "extra_traits", derive(Debug, Eq, Hash, PartialEq))]
3 pub struct stat {
4     pub st_dev: ::dev_t,
5     pub st_ino: ::ino_t,
6     pub st_mode: ::mode_t,
7     pub st_nlink: ::nlink_t,
8     pub st_uid: ::uid_t,
9     pub st_gid: ::gid_t,
10     pub st_rdev: ::dev_t,
11     pub st_atime: ::time_t,
12     pub st_atime_nsec: ::c_long,
13     pub st_mtime: ::time_t,
14     pub st_mtime_nsec: ::c_long,
15     pub st_ctime: ::time_t,
16     pub st_ctime_nsec: ::c_long,
17     pub st_size: ::off_t,
18     pub st_blocks: ::blkcnt_t,
19     pub st_blksize: ::blksize_t,
20     pub st_flags: ::fflags_t,
21     pub st_gen: u32,
22     pub st_lspare: i32,
23     pub st_birthtime: ::time_t,
24     pub st_birthtime_nsec: ::c_long,
25 }
26 
27 impl ::Copy for ::stat {}
28 impl ::Clone for ::stat {
clone(&self) -> ::stat29     fn clone(&self) -> ::stat {
30         *self
31     }
32 }
33