Enum nvml_wrapper::enum_wrappers::device::BridgeChip
source · pub enum BridgeChip {
PLX,
BRO4,
}
Expand description
Represents type of a bridge chip.
NVIDIA does not provide docs (in the code, that is) explaining what each chip type is, so you’re on your own there.
Variants§
Implementations§
source§impl BridgeChip
impl BridgeChip
sourcepub fn as_c(&self) -> nvmlBridgeChipType_enum
pub fn as_c(&self) -> nvmlBridgeChipType_enum
Returns the C enum variant equivalent for the given Rust enum variant
Trait Implementations§
source§impl Clone for BridgeChip
impl Clone for BridgeChip
source§fn clone(&self) -> BridgeChip
fn clone(&self) -> BridgeChip
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 BridgeChip
impl Debug for BridgeChip
source§impl Hash for BridgeChip
impl Hash for BridgeChip
source§impl PartialEq for BridgeChip
impl PartialEq for BridgeChip
source§fn eq(&self, other: &BridgeChip) -> bool
fn eq(&self, other: &BridgeChip) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for BridgeChip
impl TryFrom<u32> for BridgeChip
impl Eq for BridgeChip
impl StructuralPartialEq for BridgeChip
Auto Trait Implementations§
impl RefUnwindSafe for BridgeChip
impl Send for BridgeChip
impl Sync for BridgeChip
impl Unpin for BridgeChip
impl UnwindSafe for BridgeChip
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