#[repr(C)]pub struct kvm_ioapic_state {
pub base_address: __u64,
pub ioregsel: __u32,
pub id: __u32,
pub irr: __u32,
pub pad: __u32,
pub redirtbl: [kvm_ioapic_state__bindgen_ty_1; 24],
}Available on x86-64 only.
Fields§
§base_address: __u64§ioregsel: __u32§id: __u32§irr: __u32§pad: __u32§redirtbl: [kvm_ioapic_state__bindgen_ty_1; 24]Trait Implementations§
Source§impl Clone for kvm_ioapic_state
impl Clone for kvm_ioapic_state
Source§fn clone(&self) -> kvm_ioapic_state
fn clone(&self) -> kvm_ioapic_state
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 kvm_ioapic_state
impl Debug for kvm_ioapic_state
Source§impl Default for kvm_ioapic_state
impl Default for kvm_ioapic_state
Source§impl FromBytes for kvm_ioapic_state
impl FromBytes for kvm_ioapic_state
Source§impl FromZeros for kvm_ioapic_state
impl FromZeros for kvm_ioapic_state
Source§impl IntoBytes for kvm_ioapic_state
impl IntoBytes for kvm_ioapic_state
Source§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§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 kvm_ioapic_state
impl TryFromBytes for kvm_ioapic_state
Source§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,
Source§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,
Source§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 kvm_ioapic_state
impl Immutable for kvm_ioapic_state
Auto Trait Implementations§
impl Freeze for kvm_ioapic_state
impl RefUnwindSafe for kvm_ioapic_state
impl Send for kvm_ioapic_state
impl Sync for kvm_ioapic_state
impl Unpin for kvm_ioapic_state
impl UnwindSafe for kvm_ioapic_state
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