Struct nvml_wrapper::struct_wrappers::device::BridgeChipHierarchy
source · pub struct BridgeChipHierarchy {
pub chips_hierarchy: Vec<BridgeChipInfo>,
pub chip_count: u8,
}
Expand description
This struct stores the complete hierarchy of the bridge chip within the board.
The immediate bridge is stored at index 0 of chips_hierarchy
. The parent to
the immediate bridge is at index 1, and so forth.
Fields§
§chips_hierarchy: Vec<BridgeChipInfo>
Hierarchy of bridge chips on the board.
chip_count: u8
Number of bridge chips on the board.
Trait Implementations§
source§impl Clone for BridgeChipHierarchy
impl Clone for BridgeChipHierarchy
source§fn clone(&self) -> BridgeChipHierarchy
fn clone(&self) -> BridgeChipHierarchy
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 BridgeChipHierarchy
impl Debug for BridgeChipHierarchy
source§impl Hash for BridgeChipHierarchy
impl Hash for BridgeChipHierarchy
source§impl PartialEq for BridgeChipHierarchy
impl PartialEq for BridgeChipHierarchy
source§fn eq(&self, other: &BridgeChipHierarchy) -> bool
fn eq(&self, other: &BridgeChipHierarchy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BridgeChipHierarchy
impl StructuralPartialEq for BridgeChipHierarchy
Auto Trait Implementations§
impl RefUnwindSafe for BridgeChipHierarchy
impl Send for BridgeChipHierarchy
impl Sync for BridgeChipHierarchy
impl Unpin for BridgeChipHierarchy
impl UnwindSafe for BridgeChipHierarchy
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