Struct kvm_sys::x86::bindings::__BindgenBitfieldUnit
source · #[repr(C)]pub struct __BindgenBitfieldUnit<Storage> {
storage: Storage,
}
Fields§
§storage: Storage
Implementations§
source§impl<Storage> __BindgenBitfieldUnit<Storage>
impl<Storage> __BindgenBitfieldUnit<Storage>
source§impl<Storage> __BindgenBitfieldUnit<Storage>
impl<Storage> __BindgenBitfieldUnit<Storage>
Trait Implementations§
source§impl<Storage> AsBytes for __BindgenBitfieldUnit<Storage>where
Storage: AsBytes,
impl<Storage> AsBytes for __BindgenBitfieldUnit<Storage>where
Storage: AsBytes,
§fn write_to_prefix(&self, bytes: &mut [u8]) -> Option<()>
fn write_to_prefix(&self, bytes: &mut [u8]) -> Option<()>
source§impl<Storage: Clone> Clone for __BindgenBitfieldUnit<Storage>
impl<Storage: Clone> Clone for __BindgenBitfieldUnit<Storage>
source§fn clone(&self) -> __BindgenBitfieldUnit<Storage>
fn clone(&self) -> __BindgenBitfieldUnit<Storage>
Returns a copy 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<Storage: Debug> Debug for __BindgenBitfieldUnit<Storage>
impl<Storage: Debug> Debug for __BindgenBitfieldUnit<Storage>
source§impl<Storage: Default> Default for __BindgenBitfieldUnit<Storage>
impl<Storage: Default> Default for __BindgenBitfieldUnit<Storage>
source§fn default() -> __BindgenBitfieldUnit<Storage>
fn default() -> __BindgenBitfieldUnit<Storage>
Returns the “default value” for a type. Read more
source§impl<Storage> FromBytes for __BindgenBitfieldUnit<Storage>where
Storage: FromBytes,
impl<Storage> FromBytes for __BindgenBitfieldUnit<Storage>where
Storage: FromBytes,
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl<Storage> FromZeroes for __BindgenBitfieldUnit<Storage>where
Storage: FromZeroes,
impl<Storage> FromZeroes for __BindgenBitfieldUnit<Storage>where
Storage: FromZeroes,
source§impl<Storage: Hash> Hash for __BindgenBitfieldUnit<Storage>
impl<Storage: Hash> Hash for __BindgenBitfieldUnit<Storage>
source§impl<Storage: Ord> Ord for __BindgenBitfieldUnit<Storage>
impl<Storage: Ord> Ord for __BindgenBitfieldUnit<Storage>
source§fn cmp(&self, other: &__BindgenBitfieldUnit<Storage>) -> Ordering
fn cmp(&self, other: &__BindgenBitfieldUnit<Storage>) -> 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<Storage: PartialEq> PartialEq for __BindgenBitfieldUnit<Storage>
impl<Storage: PartialEq> PartialEq for __BindgenBitfieldUnit<Storage>
source§fn eq(&self, other: &__BindgenBitfieldUnit<Storage>) -> bool
fn eq(&self, other: &__BindgenBitfieldUnit<Storage>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<Storage: PartialOrd> PartialOrd for __BindgenBitfieldUnit<Storage>
impl<Storage: PartialOrd> PartialOrd for __BindgenBitfieldUnit<Storage>
source§fn partial_cmp(
&self,
other: &__BindgenBitfieldUnit<Storage>
) -> Option<Ordering>
fn partial_cmp( &self, other: &__BindgenBitfieldUnit<Storage> ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<Storage: Copy> Copy for __BindgenBitfieldUnit<Storage>
impl<Storage: Eq> Eq for __BindgenBitfieldUnit<Storage>
impl<Storage> StructuralPartialEq for __BindgenBitfieldUnit<Storage>
Auto Trait Implementations§
impl<Storage> RefUnwindSafe for __BindgenBitfieldUnit<Storage>where
Storage: RefUnwindSafe,
impl<Storage> Send for __BindgenBitfieldUnit<Storage>where
Storage: Send,
impl<Storage> Sync for __BindgenBitfieldUnit<Storage>where
Storage: Sync,
impl<Storage> Unpin for __BindgenBitfieldUnit<Storage>where
Storage: Unpin,
impl<Storage> UnwindSafe for __BindgenBitfieldUnit<Storage>where
Storage: UnwindSafe,
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