#[repr(C, align(4))]pub struct xen_processor_flags {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 3],
}Fields§
§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§__bindgen_padding_0: [u8; 3]Implementations§
Source§impl xen_processor_flags
impl xen_processor_flags
pub fn bm_control(&self) -> u32
pub fn set_bm_control(&mut self, val: u32)
pub unsafe fn bm_control_raw(this: *const Self) -> u32
pub unsafe fn set_bm_control_raw(this: *mut Self, val: u32)
pub fn bm_check(&self) -> u32
pub fn set_bm_check(&mut self, val: u32)
pub unsafe fn bm_check_raw(this: *const Self) -> u32
pub unsafe fn set_bm_check_raw(this: *mut Self, val: u32)
pub fn has_cst(&self) -> u32
pub fn set_has_cst(&mut self, val: u32)
pub unsafe fn has_cst_raw(this: *const Self) -> u32
pub unsafe fn set_has_cst_raw(this: *mut Self, val: u32)
pub fn power_setup_done(&self) -> u32
pub fn set_power_setup_done(&mut self, val: u32)
pub unsafe fn power_setup_done_raw(this: *const Self) -> u32
pub unsafe fn set_power_setup_done_raw(this: *mut Self, val: u32)
pub fn bm_rld_set(&self) -> u32
pub fn set_bm_rld_set(&mut self, val: u32)
pub unsafe fn bm_rld_set_raw(this: *const Self) -> u32
pub unsafe fn set_bm_rld_set_raw(this: *mut Self, val: u32)
pub fn new_bitfield_1( bm_control: u32, bm_check: u32, has_cst: u32, power_setup_done: u32, bm_rld_set: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for xen_processor_flags
impl Clone for xen_processor_flags
Source§fn clone(&self) -> xen_processor_flags
fn clone(&self) -> xen_processor_flags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for xen_processor_flags
impl Debug for xen_processor_flags
Source§impl Default for xen_processor_flags
impl Default for xen_processor_flags
Source§fn default() -> xen_processor_flags
fn default() -> xen_processor_flags
Returns the “default value” for a type. Read more
impl Copy for xen_processor_flags
Auto Trait Implementations§
impl Freeze for xen_processor_flags
impl RefUnwindSafe for xen_processor_flags
impl Send for xen_processor_flags
impl Sync for xen_processor_flags
impl Unpin for xen_processor_flags
impl UnwindSafe for xen_processor_flags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more