#[repr(transparent)]pub struct DvsecExtendedCapabilityHeader(pub u16);Expand description
Offsets into the DVSEC Extended Capability structure.
| Offset | Bits 31-16 | Bits 15-0 |
|---|---|---|
| Ext + 0x0 | Next Cap Ptr + Version | Extended Capability ID |
| Ext + 0x4 | DVSEC Length + Revision | DVSEC Vendor ID |
| Ext + 0x8 | Reserved | DVSEC ID |
Tuple Fields§
§0: u16Implementations§
Trait Implementations§
Source§impl Clone for DvsecExtendedCapabilityHeader
impl Clone for DvsecExtendedCapabilityHeader
Source§fn clone(&self) -> DvsecExtendedCapabilityHeader
fn clone(&self) -> DvsecExtendedCapabilityHeader
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 Hash for DvsecExtendedCapabilityHeader
impl Hash for DvsecExtendedCapabilityHeader
Source§impl Ord for DvsecExtendedCapabilityHeader
impl Ord for DvsecExtendedCapabilityHeader
Source§fn cmp(&self, other: &DvsecExtendedCapabilityHeader) -> Ordering
fn cmp(&self, other: &DvsecExtendedCapabilityHeader) -> 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 DvsecExtendedCapabilityHeader
impl PartialEq for DvsecExtendedCapabilityHeader
Source§fn eq(&self, other: &DvsecExtendedCapabilityHeader) -> bool
fn eq(&self, other: &DvsecExtendedCapabilityHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DvsecExtendedCapabilityHeader
impl PartialOrd for DvsecExtendedCapabilityHeader
impl Copy for DvsecExtendedCapabilityHeader
impl Eq for DvsecExtendedCapabilityHeader
impl StructuralPartialEq for DvsecExtendedCapabilityHeader
Auto Trait Implementations§
impl Freeze for DvsecExtendedCapabilityHeader
impl RefUnwindSafe for DvsecExtendedCapabilityHeader
impl Send for DvsecExtendedCapabilityHeader
impl Sync for DvsecExtendedCapabilityHeader
impl Unpin for DvsecExtendedCapabilityHeader
impl UnsafeUnpin for DvsecExtendedCapabilityHeader
impl UnwindSafe for DvsecExtendedCapabilityHeader
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