pub struct HvX64RegisterInterceptMessageFlags(/* private fields */);Implementations§
Source§impl HvX64RegisterInterceptMessageFlags
impl HvX64RegisterInterceptMessageFlags
Sourcepub const fn is_memory_op(&self) -> bool
pub const fn is_memory_op(&self) -> bool
Bits: 0..1
Sourcepub const fn with_is_memory_op_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_is_memory_op_checked(self, value: bool) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_is_memory_op(self, value: bool) -> Self
pub const fn with_is_memory_op(self, value: bool) -> Self
Bits: 0..1
Sourcepub const fn set_is_memory_op(&mut self, value: bool)
pub const fn set_is_memory_op(&mut self, value: bool)
Bits: 0..1
Trait Implementations§
Source§impl Clone for HvX64RegisterInterceptMessageFlags
impl Clone for HvX64RegisterInterceptMessageFlags
Source§fn clone(&self) -> HvX64RegisterInterceptMessageFlags
fn clone(&self) -> HvX64RegisterInterceptMessageFlags
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 From<HvX64RegisterInterceptMessageFlags> for u8
impl From<HvX64RegisterInterceptMessageFlags> for u8
Source§fn from(v: HvX64RegisterInterceptMessageFlags) -> u8
fn from(v: HvX64RegisterInterceptMessageFlags) -> u8
Converts to this type from the input type.
Source§impl From<u8> for HvX64RegisterInterceptMessageFlags
impl From<u8> for HvX64RegisterInterceptMessageFlags
Source§impl FromBytes for HvX64RegisterInterceptMessageFlagswhere
u8: FromBytes,
impl FromBytes for HvX64RegisterInterceptMessageFlagswhere
u8: FromBytes,
Source§impl FromZeros for HvX64RegisterInterceptMessageFlagswhere
u8: FromZeros,
impl FromZeros for HvX64RegisterInterceptMessageFlagswhere
u8: FromZeros,
§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
Self from zeroed bytes. Read more§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Creates a
Box<Self> from zeroed bytes. Read more§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Creates a
Vec<Self> from zeroed bytes. Read moreSource§impl IntoBytes for HvX64RegisterInterceptMessageFlagswhere
u8: IntoBytes,
impl IntoBytes for HvX64RegisterInterceptMessageFlagswhere
u8: IntoBytes,
§fn as_mut_bytes(&mut self) -> &mut [u8]where
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8]where
Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl TryFromBytes for HvX64RegisterInterceptMessageFlagswhere
u8: TryFromBytes,
impl TryFromBytes for HvX64RegisterInterceptMessageFlagswhere
u8: TryFromBytes,
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for HvX64RegisterInterceptMessageFlags
impl Immutable for HvX64RegisterInterceptMessageFlagswhere
u8: Immutable,
Auto Trait Implementations§
impl Freeze for HvX64RegisterInterceptMessageFlags
impl RefUnwindSafe for HvX64RegisterInterceptMessageFlags
impl Send for HvX64RegisterInterceptMessageFlags
impl Sync for HvX64RegisterInterceptMessageFlags
impl Unpin for HvX64RegisterInterceptMessageFlags
impl UnwindSafe for HvX64RegisterInterceptMessageFlags
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