#[repr(transparent)]pub struct ExtendedCapabilityId(pub u16);Expand description
PCIe Extended Capability IDs (offsets 0x100+ in config space).
Sources: PCI Express Base Specification
NOTE: this is a non-exhaustive list, so don’t be afraid to add new variants on an as-needed basis!
Tuple Fields§
§0: u16Implementations§
Source§impl ExtendedCapabilityId
impl ExtendedCapabilityId
pub const ACS: ExtendedCapabilityId
pub const ARI: ExtendedCapabilityId
pub const SRIOV: ExtendedCapabilityId
pub const REBAR: ExtendedCapabilityId
pub const DVSEC: ExtendedCapabilityId
pub const SIOV: ExtendedCapabilityId
Trait Implementations§
Source§impl Clone for ExtendedCapabilityId
impl Clone for ExtendedCapabilityId
Source§fn clone(&self) -> ExtendedCapabilityId
fn clone(&self) -> ExtendedCapabilityId
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 ExtendedCapabilityId
impl Debug for ExtendedCapabilityId
Source§impl Hash for ExtendedCapabilityId
impl Hash for ExtendedCapabilityId
Source§impl Ord for ExtendedCapabilityId
impl Ord for ExtendedCapabilityId
Source§fn cmp(&self, other: &ExtendedCapabilityId) -> Ordering
fn cmp(&self, other: &ExtendedCapabilityId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExtendedCapabilityId
impl PartialEq for ExtendedCapabilityId
Source§impl PartialOrd for ExtendedCapabilityId
impl PartialOrd for ExtendedCapabilityId
impl Copy for ExtendedCapabilityId
impl Eq for ExtendedCapabilityId
impl StructuralPartialEq for ExtendedCapabilityId
Auto Trait Implementations§
impl Freeze for ExtendedCapabilityId
impl RefUnwindSafe for ExtendedCapabilityId
impl Send for ExtendedCapabilityId
impl Sync for ExtendedCapabilityId
impl Unpin for ExtendedCapabilityId
impl UnsafeUnpin for ExtendedCapabilityId
impl UnwindSafe for ExtendedCapabilityId
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