Struct libc::shmid_ds

source ·
#[repr(C)]
#[repr(packed(4))]
pub struct shmid_ds { pub shm_perm: ipc_perm, pub shm_segsz: size_t, pub shm_lpid: pid_t, pub shm_cpid: pid_t, pub shm_nattch: shmatt_t, pub shm_atime: time_t, pub shm_dtime: time_t, pub shm_ctime: time_t, pub shm_internal: *mut c_void, }

Fields§

§shm_perm: ipc_perm§shm_segsz: size_t§shm_lpid: pid_t§shm_cpid: pid_t§shm_nattch: shmatt_t§shm_atime: time_t§shm_dtime: time_t§shm_ctime: time_t§shm_internal: *mut c_void

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. 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.