#[repr(transparent)]pub struct LinkSpeed(pub u32);Expand description
PCIe Link Speed encoding values for use in Link Capabilities and other registers.
Values are defined in PCIe Base Specification for the Max Link Speed field in Link Capabilities Register and similar fields.
Tuple Fields§
§0: u32Implementations§
Source§impl LinkSpeed
impl LinkSpeed
Sourcepub const Speed2_5GtS: LinkSpeed
pub const Speed2_5GtS: LinkSpeed
2.5 GT/s link speed
Sourcepub const Speed5_0GtS: LinkSpeed
pub const Speed5_0GtS: LinkSpeed
5.0 GT/s link speed
Sourcepub const Speed8_0GtS: LinkSpeed
pub const Speed8_0GtS: LinkSpeed
8.0 GT/s link speed
Sourcepub const Speed16_0GtS: LinkSpeed
pub const Speed16_0GtS: LinkSpeed
16.0 GT/s link speed
Sourcepub const Speed32_0GtS: LinkSpeed
pub const Speed32_0GtS: LinkSpeed
32.0 GT/s link speed
Sourcepub const Speed64_0GtS: LinkSpeed
pub const Speed64_0GtS: LinkSpeed
64.0 GT/s link speed
Trait Implementations§
Source§impl Ord for LinkSpeed
impl Ord for LinkSpeed
Source§impl PartialOrd for LinkSpeed
impl PartialOrd for LinkSpeed
impl Copy for LinkSpeed
impl Eq for LinkSpeed
impl StructuralPartialEq for LinkSpeed
Auto Trait Implementations§
impl Freeze for LinkSpeed
impl RefUnwindSafe for LinkSpeed
impl Send for LinkSpeed
impl Sync for LinkSpeed
impl Unpin for LinkSpeed
impl UnsafeUnpin for LinkSpeed
impl UnwindSafe for LinkSpeed
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