#[repr(transparent)]pub struct SupportedLinkSpeedsVector(pub u32);Expand description
PCIe Supported Link Speeds Vector encoding values for use in Link Capabilities 2 register.
Values are defined in PCIe Base Specification for the Supported Link Speeds Vector field in Link Capabilities 2 Register. Each bit represents support for a specific generation.
Tuple Fields§
§0: u32Implementations§
Source§impl SupportedLinkSpeedsVector
impl SupportedLinkSpeedsVector
Sourcepub const UpToGen1: SupportedLinkSpeedsVector
pub const UpToGen1: SupportedLinkSpeedsVector
Support up to Gen 1 (2.5 GT/s)
Sourcepub const UpToGen2: SupportedLinkSpeedsVector
pub const UpToGen2: SupportedLinkSpeedsVector
Support up to Gen 2 (5.0 GT/s)
Sourcepub const UpToGen3: SupportedLinkSpeedsVector
pub const UpToGen3: SupportedLinkSpeedsVector
Support up to Gen 3 (8.0 GT/s)
Sourcepub const UpToGen4: SupportedLinkSpeedsVector
pub const UpToGen4: SupportedLinkSpeedsVector
Support up to Gen 4 (16.0 GT/s)
Sourcepub const UpToGen5: SupportedLinkSpeedsVector
pub const UpToGen5: SupportedLinkSpeedsVector
Support up to Gen 5 (32.0 GT/s)
Sourcepub const UpToGen6: SupportedLinkSpeedsVector
pub const UpToGen6: SupportedLinkSpeedsVector
Support up to Gen 6 (64.0 GT/s)
Trait Implementations§
Source§impl Clone for SupportedLinkSpeedsVector
impl Clone for SupportedLinkSpeedsVector
Source§fn clone(&self) -> SupportedLinkSpeedsVector
fn clone(&self) -> SupportedLinkSpeedsVector
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 SupportedLinkSpeedsVector
impl Debug for SupportedLinkSpeedsVector
Source§impl Hash for SupportedLinkSpeedsVector
impl Hash for SupportedLinkSpeedsVector
Source§impl Inspect for SupportedLinkSpeedsVector
impl Inspect for SupportedLinkSpeedsVector
Source§impl Ord for SupportedLinkSpeedsVector
impl Ord for SupportedLinkSpeedsVector
Source§fn cmp(&self, other: &SupportedLinkSpeedsVector) -> Ordering
fn cmp(&self, other: &SupportedLinkSpeedsVector) -> 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 SupportedLinkSpeedsVector
impl PartialOrd for SupportedLinkSpeedsVector
impl Copy for SupportedLinkSpeedsVector
impl Eq for SupportedLinkSpeedsVector
impl StructuralPartialEq for SupportedLinkSpeedsVector
Auto Trait Implementations§
impl Freeze for SupportedLinkSpeedsVector
impl RefUnwindSafe for SupportedLinkSpeedsVector
impl Send for SupportedLinkSpeedsVector
impl Sync for SupportedLinkSpeedsVector
impl Unpin for SupportedLinkSpeedsVector
impl UnsafeUnpin for SupportedLinkSpeedsVector
impl UnwindSafe for SupportedLinkSpeedsVector
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