Struct iwlib_sys::stat

source ·
#[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_ushort§st_ino: __ino_t§st_mode: __mode_t§st_nlink: __nlink_t§st_uid: __uid_t§st_gid: __gid_t§st_rdev: __dev_t§__pad2: c_ushort§st_size: __off_t§st_blksize: __blksize_t§st_blocks: __blkcnt_t§st_atim: timespec§st_mtim: timespec§st_ctim: timespec§__glibc_reserved4: c_ulong§__glibc_reserved5: c_ulong

Trait Implementations§

source§

impl Clone for stat

source§

fn clone(&self) -> stat

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for stat

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for stat

source§

fn default() -> stat

Returns the “default value” for a type. Read more
source§

impl Copy for stat

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§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.