#[repr(u32)]pub enum pcie_link_width_t {
PCIE_Link_Width_Undefined = 0,
PCIE_Link_Width_x1 = 1,
PCIE_Link_Width_x2 = 2,
PCIE_Link_Width_x4 = 4,
PCIE_Link_Width_x8 = 8,
PCIE_Link_Width_x16 = 16,
}
Expand description
Variants§
PCIE_Link_Width_Undefined = 0
PCIE_Link_Width_x1 = 1
PCIE_Link_Width_x2 = 2
PCIE_Link_Width_x4 = 4
PCIE_Link_Width_x8 = 8
PCIE_Link_Width_x16 = 16
Trait Implementations§
source§impl Clone for pcie_link_width_t
impl Clone for pcie_link_width_t
source§fn clone(&self) -> pcie_link_width_t
fn clone(&self) -> pcie_link_width_t
Returns a copy 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 pcie_link_width_t
impl Debug for pcie_link_width_t
source§impl Hash for pcie_link_width_t
impl Hash for pcie_link_width_t
source§impl Ord for pcie_link_width_t
impl Ord for pcie_link_width_t
source§fn cmp(&self, other: &pcie_link_width_t) -> Ordering
fn cmp(&self, other: &pcie_link_width_t) -> 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 pcie_link_width_t
impl PartialEq for pcie_link_width_t
source§impl PartialOrd for pcie_link_width_t
impl PartialOrd for pcie_link_width_t
impl Copy for pcie_link_width_t
impl Eq for pcie_link_width_t
impl StructuralPartialEq for pcie_link_width_t
Auto Trait Implementations§
impl Freeze for pcie_link_width_t
impl RefUnwindSafe for pcie_link_width_t
impl Send for pcie_link_width_t
impl Sync for pcie_link_width_t
impl Unpin for pcie_link_width_t
impl UnwindSafe for pcie_link_width_t
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)