#[repr(C)]pub struct PciProbeCriteria {
pub match_flags: u32,
pub vendor_id: u16,
pub device_id: u16,
pub class_code: u8,
pub subclass: u8,
pub prog_if: u8,
pub _reserved: u8,
}Fields§
§match_flags: u32§vendor_id: u16§device_id: u16§class_code: u8§subclass: u8§prog_if: u8§_reserved: u8Trait Implementations§
Source§impl Clone for PciProbeCriteria
impl Clone for PciProbeCriteria
Source§fn clone(&self) -> PciProbeCriteria
fn clone(&self) -> PciProbeCriteria
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 PciProbeCriteria
impl Debug for PciProbeCriteria
Source§impl FromBytes for PciProbeCriteria
impl FromBytes for PciProbeCriteria
Source§impl FromZeros for PciProbeCriteria
impl FromZeros for PciProbeCriteria
Source§impl IntoBytes for PciProbeCriteria
impl IntoBytes for PciProbeCriteria
§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 TryFromBytes for PciProbeCriteria
impl TryFromBytes for PciProbeCriteria
§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 PciProbeCriteria
Auto Trait Implementations§
impl Freeze for PciProbeCriteria
impl RefUnwindSafe for PciProbeCriteria
impl Send for PciProbeCriteria
impl Sync for PciProbeCriteria
impl Unpin for PciProbeCriteria
impl UnsafeUnpin for PciProbeCriteria
impl UnwindSafe for PciProbeCriteria
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