#[repr(C)]
pub struct stat {Show 18 fields
pub st_dev: __kernel_ulong_t,
pub st_ino: __kernel_ulong_t,
pub st_nlink: __kernel_ulong_t,
pub st_mode: c_uint,
pub st_uid: c_uint,
pub st_gid: c_uint,
pub __pad0: c_uint,
pub st_rdev: __kernel_ulong_t,
pub st_size: __kernel_long_t,
pub st_blksize: __kernel_long_t,
pub st_blocks: __kernel_long_t,
pub st_atime: __kernel_ulong_t,
pub st_atime_nsec: __kernel_ulong_t,
pub st_mtime: __kernel_ulong_t,
pub st_mtime_nsec: __kernel_ulong_t,
pub st_ctime: __kernel_ulong_t,
pub st_ctime_nsec: __kernel_ulong_t,
pub __unused: [__kernel_long_t; 3],
}
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.