#[repr(C)]pub struct DevPathHwPci {
pub function: u8,
pub device: u8,
}Fields§
§function: u8§device: u8Trait Implementations§
Source§impl Debug for DevPathHwPci
impl Debug for DevPathHwPci
Source§impl FromBytes for DevPathHwPci
impl FromBytes for DevPathHwPci
Source§impl FromZeros for DevPathHwPci
impl FromZeros for DevPathHwPci
Source§impl IntoBytes for DevPathHwPci
impl IntoBytes for DevPathHwPci
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 PartialEq for DevPathHwPci
impl PartialEq for DevPathHwPci
Source§impl TryFromBytes for DevPathHwPciwhere
u8: TryFromBytes,
impl TryFromBytes for DevPathHwPciwhere
u8: TryFromBytes,
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 Immutable for DevPathHwPci
impl StructuralPartialEq for DevPathHwPci
Auto Trait Implementations§
impl Freeze for DevPathHwPci
impl RefUnwindSafe for DevPathHwPci
impl Send for DevPathHwPci
impl Sync for DevPathHwPci
impl Unpin for DevPathHwPci
impl UnwindSafe for DevPathHwPci
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