#[repr(transparent)]pub struct GhcbUsage(pub u32);Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl FromBytes for GhcbUsagewhere
u32: FromBytes,
impl FromBytes for GhcbUsagewhere
u32: FromBytes,
Source§impl FromZeros for GhcbUsagewhere
u32: FromZeros,
impl FromZeros for GhcbUsagewhere
u32: 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 GhcbUsagewhere
u32: IntoBytes,
impl IntoBytes for GhcbUsagewhere
u32: 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
Source§impl Ord for GhcbUsage
impl Ord for GhcbUsage
Source§impl PartialOrd for GhcbUsage
impl PartialOrd for GhcbUsage
Source§impl TryFromBytes for GhcbUsagewhere
u32: TryFromBytes,
impl TryFromBytes for GhcbUsagewhere
u32: 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 GhcbUsage
impl Eq for GhcbUsage
impl StructuralPartialEq for GhcbUsage
Auto Trait Implementations§
impl Freeze for GhcbUsage
impl RefUnwindSafe for GhcbUsage
impl Send for GhcbUsage
impl Sync for GhcbUsage
impl Unpin for GhcbUsage
impl UnsafeUnpin for GhcbUsage
impl UnwindSafe for GhcbUsage
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