Struct user_desc

struct user_desc { ... }

Fields

entry_number: c_uint
base_addr: c_uint
limit: c_uint
_bitfield_align_1: [u8; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
__bindgen_padding_0: [u8; 3]

Implementations

impl user_desc

fn seg_32bit(self: &Self) -> c_uint
fn set_seg_32bit(self: &mut Self, val: c_uint)
unsafe fn seg_32bit_raw(this: *const Self) -> c_uint
unsafe fn set_seg_32bit_raw(this: *mut Self, val: c_uint)
fn contents(self: &Self) -> c_uint
fn set_contents(self: &mut Self, val: c_uint)
unsafe fn contents_raw(this: *const Self) -> c_uint
unsafe fn set_contents_raw(this: *mut Self, val: c_uint)
fn read_exec_only(self: &Self) -> c_uint
fn set_read_exec_only(self: &mut Self, val: c_uint)
unsafe fn read_exec_only_raw(this: *const Self) -> c_uint
unsafe fn set_read_exec_only_raw(this: *mut Self, val: c_uint)
fn limit_in_pages(self: &Self) -> c_uint
fn set_limit_in_pages(self: &mut Self, val: c_uint)
unsafe fn limit_in_pages_raw(this: *const Self) -> c_uint
unsafe fn set_limit_in_pages_raw(this: *mut Self, val: c_uint)
fn seg_not_present(self: &Self) -> c_uint
fn set_seg_not_present(self: &mut Self, val: c_uint)
unsafe fn seg_not_present_raw(this: *const Self) -> c_uint
unsafe fn set_seg_not_present_raw(this: *mut Self, val: c_uint)
fn useable(self: &Self) -> c_uint
fn set_useable(self: &mut Self, val: c_uint)
unsafe fn useable_raw(this: *const Self) -> c_uint
unsafe fn set_useable_raw(this: *mut Self, val: c_uint)
fn lm(self: &Self) -> c_uint
fn set_lm(self: &mut Self, val: c_uint)
unsafe fn lm_raw(this: *const Self) -> c_uint
unsafe fn set_lm_raw(this: *mut Self, val: c_uint)
fn new_bitfield_1(seg_32bit: c_uint, contents: c_uint, read_exec_only: c_uint, limit_in_pages: c_uint, seg_not_present: c_uint, useable: c_uint, lm: c_uint) -> __BindgenBitfieldUnit<[u8; 1]>

impl Clone for user_desc

fn clone(self: &Self) -> user_desc

impl Copy for user_desc

impl Debug for user_desc

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

impl Freeze for user_desc

impl RefUnwindSafe for user_desc

impl Send for user_desc

impl Sync for user_desc

impl Unpin for user_desc

impl UnsafeUnpin for user_desc

impl UnwindSafe for user_desc

impl<T> Any for user_desc

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for user_desc

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for user_desc

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

impl<T> CloneToUninit for user_desc

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

impl<T> From for user_desc

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for user_desc

fn into(self: 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 for user_desc

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

impl<T, U> TryInto for user_desc

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