#[repr(transparent)]pub struct AriExtendedCapabilityHeader(pub u16);Expand description
Offsets into the ARI Extended Capability structure.
| Offset | Bits 31-16 | Bits 15-0 |
|---|---|---|
| Ext + 0x0 | Next Cap Ptr + Version | Extended Capability ID |
| Ext + 0x4 | ARI Control | ARI Capability |
The ARI Capability register (bits 15:0 at Ext + 0x4) holds the
Next Function Number in bits 15:8; see
ARI_CAPABILITY_NEXT_FUNCTION_SHIFT.
Tuple Fields§
§0: u16Implementations§
Trait Implementations§
Source§impl Clone for AriExtendedCapabilityHeader
impl Clone for AriExtendedCapabilityHeader
Source§fn clone(&self) -> AriExtendedCapabilityHeader
fn clone(&self) -> AriExtendedCapabilityHeader
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 AriExtendedCapabilityHeader
impl Debug for AriExtendedCapabilityHeader
Source§impl Hash for AriExtendedCapabilityHeader
impl Hash for AriExtendedCapabilityHeader
Source§impl Ord for AriExtendedCapabilityHeader
impl Ord for AriExtendedCapabilityHeader
Source§fn cmp(&self, other: &AriExtendedCapabilityHeader) -> Ordering
fn cmp(&self, other: &AriExtendedCapabilityHeader) -> 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 AriExtendedCapabilityHeader
impl PartialOrd for AriExtendedCapabilityHeader
impl Copy for AriExtendedCapabilityHeader
impl Eq for AriExtendedCapabilityHeader
impl StructuralPartialEq for AriExtendedCapabilityHeader
Auto Trait Implementations§
impl Freeze for AriExtendedCapabilityHeader
impl RefUnwindSafe for AriExtendedCapabilityHeader
impl Send for AriExtendedCapabilityHeader
impl Sync for AriExtendedCapabilityHeader
impl Unpin for AriExtendedCapabilityHeader
impl UnsafeUnpin for AriExtendedCapabilityHeader
impl UnwindSafe for AriExtendedCapabilityHeader
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