Struct semid_ds

#[repr(C)]
pub struct semid_ds { pub sem_perm: ipc_perm, pub sem_otime: time_t, pub sem_ctime: time_t, pub sem_nsems: __syscall_ulong_t, /* private fields */ }

Fields

sem_perm: ipc_perm
sem_otime: time_t
sem_ctime: time_t
sem_nsems: __syscall_ulong_t

Trait Implementations

impl Clone for semid_ds

fn clone(&self) -> semid_ds

impl Copy for semid_ds

impl Debug for semid_ds

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

impl Eq for semid_ds

impl Hash for semid_ds

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for semid_ds

fn eq(&self, other: &semid_ds) -> bool

impl StructuralPartialEq for semid_ds

Auto Trait Implementations

impl Freeze for semid_ds

impl RefUnwindSafe for semid_ds

impl Send for semid_ds

impl Sync for semid_ds

impl Unpin for semid_ds

impl UnsafeUnpin for semid_ds

impl UnwindSafe for semid_ds

Blanket Implementations

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

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for semid_ds where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for semid_ds where T: ?Sized,

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

impl<T> CloneToUninit for semid_ds where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for semid_ds

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for semid_ds where U: From<T>,

fn into(self) -> U

Calls U::from(self).

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

impl<T, U> TryFrom<U> for semid_ds where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for semid_ds where U: TryFrom<T>,

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