Struct zx::sys::zx_pcie_device_info_t
source · #[repr(C)]pub struct zx_pcie_device_info_t {
pub vendor_id: u16,
pub device_id: u16,
pub base_class: u8,
pub sub_class: u8,
pub program_interface: u8,
pub revision_id: u8,
pub bus_id: u8,
pub dev_id: u8,
pub func_id: u8,
}
Fields§
§vendor_id: u16
§device_id: u16
§base_class: u8
§sub_class: u8
§program_interface: u8
§revision_id: u8
§bus_id: u8
§dev_id: u8
§func_id: u8
Trait Implementations§
source§impl Clone for zx_pcie_device_info_t
impl Clone for zx_pcie_device_info_t
source§fn clone(&self) -> zx_pcie_device_info_t
fn clone(&self) -> zx_pcie_device_info_t
Returns a copy 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 zx_pcie_device_info_t
impl Debug for zx_pcie_device_info_t
source§impl PartialEq for zx_pcie_device_info_t
impl PartialEq for zx_pcie_device_info_t
source§fn eq(&self, other: &zx_pcie_device_info_t) -> bool
fn eq(&self, other: &zx_pcie_device_info_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for zx_pcie_device_info_t
impl Eq for zx_pcie_device_info_t
impl StructuralPartialEq for zx_pcie_device_info_t
Auto Trait Implementations§
impl Freeze for zx_pcie_device_info_t
impl RefUnwindSafe for zx_pcie_device_info_t
impl Send for zx_pcie_device_info_t
impl Sync for zx_pcie_device_info_t
impl Unpin for zx_pcie_device_info_t
impl UnwindSafe for zx_pcie_device_info_t
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)