#[repr(C, packed(1))]pub struct hv_message_flags__bindgen_ty_1 {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
}Fields§
§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>Implementations§
Source§impl hv_message_flags__bindgen_ty_1
impl hv_message_flags__bindgen_ty_1
pub fn msg_pending(&self) -> __u8
pub fn set_msg_pending(&mut self, val: __u8)
pub unsafe fn msg_pending_raw(this: *const Self) -> __u8
pub unsafe fn set_msg_pending_raw(this: *mut Self, val: __u8)
pub fn reserved(&self) -> __u8
pub fn set_reserved(&mut self, val: __u8)
pub unsafe fn reserved_raw(this: *const Self) -> __u8
pub unsafe fn set_reserved_raw(this: *mut Self, val: __u8)
pub fn new_bitfield_1( msg_pending: __u8, reserved: __u8, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for hv_message_flags__bindgen_ty_1
impl Clone for hv_message_flags__bindgen_ty_1
Source§fn clone(&self) -> hv_message_flags__bindgen_ty_1
fn clone(&self) -> hv_message_flags__bindgen_ty_1
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 Default for hv_message_flags__bindgen_ty_1
impl Default for hv_message_flags__bindgen_ty_1
Source§fn default() -> hv_message_flags__bindgen_ty_1
fn default() -> hv_message_flags__bindgen_ty_1
Returns the “default value” for a type. Read more
Source§impl Ord for hv_message_flags__bindgen_ty_1
impl Ord for hv_message_flags__bindgen_ty_1
Source§fn cmp(&self, other: &hv_message_flags__bindgen_ty_1) -> Ordering
fn cmp(&self, other: &hv_message_flags__bindgen_ty_1) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for hv_message_flags__bindgen_ty_1
impl PartialEq for hv_message_flags__bindgen_ty_1
Source§fn eq(&self, other: &hv_message_flags__bindgen_ty_1) -> bool
fn eq(&self, other: &hv_message_flags__bindgen_ty_1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for hv_message_flags__bindgen_ty_1
impl PartialOrd for hv_message_flags__bindgen_ty_1
impl Copy for hv_message_flags__bindgen_ty_1
impl Eq for hv_message_flags__bindgen_ty_1
impl StructuralPartialEq for hv_message_flags__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for hv_message_flags__bindgen_ty_1
impl RefUnwindSafe for hv_message_flags__bindgen_ty_1
impl Send for hv_message_flags__bindgen_ty_1
impl Sync for hv_message_flags__bindgen_ty_1
impl Unpin for hv_message_flags__bindgen_ty_1
impl UnwindSafe for hv_message_flags__bindgen_ty_1
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