#[repr(transparent)]pub struct AcsExtendedCapabilityHeader(pub u16);Expand description
Offsets into the ACS Extended Capability structure.
| Offset | Bits 31-16 | Bits 15-0 |
|---|---|---|
| Ext + 0x0 | Next Cap Ptr + Version | Extended Capability ID |
| Ext + 0x4 | ACS Control Register | ACS Capability Register |
| Ext + 0x8 | Egress Control Vector (DWORD 0, if required) | |
| Ext + 0xC | Egress Control Vector (additional DWORDs, optional) |
Tuple Fields§
§0: u16Implementations§
Trait Implementations§
Source§impl Clone for AcsExtendedCapabilityHeader
impl Clone for AcsExtendedCapabilityHeader
Source§fn clone(&self) -> AcsExtendedCapabilityHeader
fn clone(&self) -> AcsExtendedCapabilityHeader
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 AcsExtendedCapabilityHeader
impl Debug for AcsExtendedCapabilityHeader
Source§impl Hash for AcsExtendedCapabilityHeader
impl Hash for AcsExtendedCapabilityHeader
Source§impl Ord for AcsExtendedCapabilityHeader
impl Ord for AcsExtendedCapabilityHeader
Source§fn cmp(&self, other: &AcsExtendedCapabilityHeader) -> Ordering
fn cmp(&self, other: &AcsExtendedCapabilityHeader) -> 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 PartialOrd for AcsExtendedCapabilityHeader
impl PartialOrd for AcsExtendedCapabilityHeader
impl Copy for AcsExtendedCapabilityHeader
impl Eq for AcsExtendedCapabilityHeader
impl StructuralPartialEq for AcsExtendedCapabilityHeader
Auto Trait Implementations§
impl Freeze for AcsExtendedCapabilityHeader
impl RefUnwindSafe for AcsExtendedCapabilityHeader
impl Send for AcsExtendedCapabilityHeader
impl Sync for AcsExtendedCapabilityHeader
impl Unpin for AcsExtendedCapabilityHeader
impl UnsafeUnpin for AcsExtendedCapabilityHeader
impl UnwindSafe for AcsExtendedCapabilityHeader
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