#[repr(transparent)]pub struct LinkWidth(pub u32);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.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Ord for LinkWidth
impl Ord for LinkWidth
Source§impl PartialOrd for LinkWidth
impl PartialOrd for LinkWidth
impl Copy for LinkWidth
impl Eq for LinkWidth
impl StructuralPartialEq for LinkWidth
Auto Trait Implementations§
impl Freeze for LinkWidth
impl RefUnwindSafe for LinkWidth
impl Send for LinkWidth
impl Sync for LinkWidth
impl Unpin for LinkWidth
impl UnsafeUnpin 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