[][src]Struct linux::kty::user_desc

#[repr(C)]
pub struct user_desc { pub entry_number: c_uint, pub base_addr: c_uint, pub limit: c_uint, // some fields omitted }

Fields

entry_number: c_uintbase_addr: c_uintlimit: c_uint

Methods

impl user_desc[src]

pub fn seg_32bit(&self) -> bool[src]

pub fn contents(&self) -> c_uint[src]

pub fn read_exec_only(&self) -> bool[src]

pub fn limit_in_pages(&self) -> bool[src]

pub fn seg_not_present(&self) -> bool[src]

pub fn useable(&self) -> bool[src]

pub fn lm(&self) -> bool[src]

pub fn set_seg_32bit(&mut self, val: bool)[src]

pub fn set_contents(&mut self, val: c_uint)[src]

pub fn set_read_exec_only(&mut self, val: bool)[src]

pub fn set_limit_in_pages(&mut self, val: bool)[src]

pub fn set_seg_not_present(&mut self, val: bool)[src]

pub fn set_useable(&mut self, val: bool)[src]

pub fn set_lm(&mut self, val: bool)[src]

Trait Implementations

impl Pod for user_desc[src]

impl Eq for user_desc[src]

impl Clone for user_desc[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<user_desc> for user_desc[src]

impl Copy for user_desc[src]

Auto Trait Implementations

impl Send for user_desc

impl Sync for user_desc

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]