#[repr(u32)]pub enum BridgeChipType {
Plx = 0,
Bro4 = 1,
}Variants§
Trait Implementations§
Source§impl Clone for BridgeChipType
impl Clone for BridgeChipType
Source§fn clone(&self) -> BridgeChipType
fn clone(&self) -> BridgeChipType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BridgeChipType
impl Debug for BridgeChipType
Source§impl From<BridgeChipType> for nvmlBridgeChipType_t
impl From<BridgeChipType> for nvmlBridgeChipType_t
Source§fn from(value: BridgeChipType) -> Self
fn from(value: BridgeChipType) -> Self
Converts to this type from the input type.
Source§impl From<BridgeChipType> for u32
impl From<BridgeChipType> for u32
Source§fn from(enum_value: BridgeChipType) -> Self
fn from(enum_value: BridgeChipType) -> Self
Converts to this type from the input type.
Source§impl From<nvmlBridgeChipType_enum> for BridgeChipType
impl From<nvmlBridgeChipType_enum> for BridgeChipType
Source§fn from(value: nvmlBridgeChipType_t) -> Self
fn from(value: nvmlBridgeChipType_t) -> Self
Converts to this type from the input type.
Source§impl Hash for BridgeChipType
impl Hash for BridgeChipType
Source§impl PartialEq for BridgeChipType
impl PartialEq for BridgeChipType
Source§fn eq(&self, other: &BridgeChipType) -> bool
fn eq(&self, other: &BridgeChipType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u32> for BridgeChipType
impl TryFrom<u32> for BridgeChipType
Source§type Error = TryFromPrimitiveError<BridgeChipType>
type Error = TryFromPrimitiveError<BridgeChipType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for BridgeChipType
impl TryFromPrimitive for BridgeChipType
const NAME: &'static str = "BridgeChipType"
type Primitive = u32
type Error = TryFromPrimitiveError<BridgeChipType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for BridgeChipType
impl Eq for BridgeChipType
impl StructuralPartialEq for BridgeChipType
Auto Trait Implementations§
impl Freeze for BridgeChipType
impl RefUnwindSafe for BridgeChipType
impl Send for BridgeChipType
impl Sync for BridgeChipType
impl Unpin for BridgeChipType
impl UnsafeUnpin for BridgeChipType
impl UnwindSafe for BridgeChipType
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