Struct libc::user

#[repr(C)]
pub struct user {    
    pub regs: user_regs_struct,
    pub u_fpvalid: ::c_int,
    pub i387: user_fpregs_struct,
    pub u_tsize: ::c_ulonglong,
    pub u_dsize: ::c_ulonglong,
    pub u_ssize: ::c_ulonglong,
    pub start_code: ::c_ulonglong,
    pub start_stack: ::c_ulonglong,
    pub signal: ::c_longlong,
    pub u_ar0: *mut user_regs_struct,
    pub u_fpstate: *mut user_fpregs_struct,
    pub magic: ::c_ulonglong,
    pub u_comm: [::c_char; 32],
    pub u_debugreg: [::c_ulonglong; 8],
    /* some fields hidden */
}

Fields

pub regs: user_regs_struct
pub u_fpvalid: ::c_int
pub i387: user_fpregs_struct
pub u_tsize: ::c_ulonglong
pub u_dsize: ::c_ulonglong
pub u_ssize: ::c_ulonglong
pub start_code: ::c_ulonglong
pub start_stack: ::c_ulonglong
pub signal: ::c_longlong
pub u_ar0: *mut user_regs_struct
pub u_fpstate: *mut user_fpregs_struct
pub magic: ::c_ulonglong
pub u_comm: [::c_char; 32]
pub u_debugreg: [::c_ulonglong; 8]

Trait Implementations

impl Clone for user
fn clone(&Self) -> user
impl Copy for user
impl Debug for user
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for user
impl Hash for user
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl PartialEq<user> for user
fn eq(&Self, other: &user) -> bool
fn ne(&Self, other: &user) -> bool
impl StructuralEq for user

Auto Trait Implementations

impl !Send for user
impl !Sync for user
impl RefUnwindSafe for user
impl Unpin for user
impl UnwindSafe for user

Blanket Implementations

impl<T> Any for T
where
    T: 'static + ?Sized,
fn type_id(&Self) -> TypeId
impl<T> Borrow<T> for T
where
    T: ?Sized,
fn borrow(&Self) -> &T
impl<T> BorrowMut<T> for T
where
    T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T
impl<T> From<T> for T
fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for T
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 T
where
    U: Into<T>,
type Error = Infallible
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for T
where
    U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
fn try_into(Self) -> Result<U, <U as TryFrom<T>>::Error>