Enum qapi_qmp::PCIELinkWidth
source · pub enum PCIELinkWidth {
_1,
_2,
_4,
_8,
_12,
_16,
_32,
}
Variants§
Trait Implementations§
source§impl Clone for PCIELinkWidth
impl Clone for PCIELinkWidth
source§fn clone(&self) -> PCIELinkWidth
fn clone(&self) -> PCIELinkWidth
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 PCIELinkWidth
impl Debug for PCIELinkWidth
source§impl<'de> Deserialize<'de> for PCIELinkWidth
impl<'de> Deserialize<'de> for PCIELinkWidth
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Enum for PCIELinkWidth
impl Enum for PCIELinkWidth
source§impl FromStr for PCIELinkWidth
impl FromStr for PCIELinkWidth
source§impl Hash for PCIELinkWidth
impl Hash for PCIELinkWidth
source§impl Ord for PCIELinkWidth
impl Ord for PCIELinkWidth
source§fn cmp(&self, other: &PCIELinkWidth) -> Ordering
fn cmp(&self, other: &PCIELinkWidth) -> 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<PCIELinkWidth> for PCIELinkWidth
impl PartialEq<PCIELinkWidth> for PCIELinkWidth
source§fn eq(&self, other: &PCIELinkWidth) -> bool
fn eq(&self, other: &PCIELinkWidth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PCIELinkWidth> for PCIELinkWidth
impl PartialOrd<PCIELinkWidth> for PCIELinkWidth
source§fn partial_cmp(&self, other: &PCIELinkWidth) -> Option<Ordering>
fn partial_cmp(&self, other: &PCIELinkWidth) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for PCIELinkWidth
impl Serialize for PCIELinkWidth
impl Copy for PCIELinkWidth
impl Eq for PCIELinkWidth
impl StructuralEq for PCIELinkWidth
impl StructuralPartialEq for PCIELinkWidth
Auto Trait Implementations§
impl RefUnwindSafe for PCIELinkWidth
impl Send for PCIELinkWidth
impl Sync for PCIELinkWidth
impl Unpin for PCIELinkWidth
impl UnwindSafe for PCIELinkWidth
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