#[repr(u32)]pub enum LinkWidth {
X1 = 1,
X2 = 2,
X4 = 4,
X8 = 8,
X16 = 16,
}Expand description
PCIe Link Width encoding values for use in Link Capabilities and other registers.
Values are defined in PCIe Base Specification for the Max Link Width field in Link Capabilities Register and similar fields.
Variants§
X1 = 1
x1 link width
X2 = 2
x2 link width
X4 = 4
x4 link width
X8 = 8
x8 link width
X16 = 16
x16 link width
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LinkWidth
impl RefUnwindSafe for LinkWidth
impl Send for LinkWidth
impl Sync for LinkWidth
impl Unpin for LinkWidth
impl UnwindSafe for LinkWidth
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