pub struct MadtIntSrcOverride {
pub bus_source: u8,
pub irq_source: u8,
pub gsi: u32,
pub flags: u16,
/* private fields */
}Expand description
MADT Interrupt Source Override (Type 2)
Fields§
§bus_source: u8§irq_source: u8§gsi: u32§flags: u16Trait Implementations§
Source§impl Clone for MadtIntSrcOverride
impl Clone for MadtIntSrcOverride
Source§fn clone(&self) -> MadtIntSrcOverride
fn clone(&self) -> MadtIntSrcOverride
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 MadtIntSrcOverride
impl Debug for MadtIntSrcOverride
Source§impl FromBytes for MadtIntSrcOverride
impl FromBytes for MadtIntSrcOverride
Source§impl FromZeros for MadtIntSrcOverride
impl FromZeros for MadtIntSrcOverride
Source§impl TryFromBytes for MadtIntSrcOverride
impl TryFromBytes for MadtIntSrcOverride
§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 MadtIntSrcOverride
Auto Trait Implementations§
impl Freeze for MadtIntSrcOverride
impl RefUnwindSafe for MadtIntSrcOverride
impl Send for MadtIntSrcOverride
impl Sync for MadtIntSrcOverride
impl Unpin for MadtIntSrcOverride
impl UnsafeUnpin for MadtIntSrcOverride
impl UnwindSafe for MadtIntSrcOverride
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more