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: u8Number of bridge chips on the board.
Trait Implementations
sourceimpl Clone for BridgeChipHierarchy
impl Clone for BridgeChipHierarchy
sourcefn clone(&self) -> BridgeChipHierarchy
fn clone(&self) -> BridgeChipHierarchy
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BridgeChipHierarchy
impl Debug for BridgeChipHierarchy
sourceimpl Hash for BridgeChipHierarchy
impl Hash for BridgeChipHierarchy
sourceimpl PartialEq<BridgeChipHierarchy> for BridgeChipHierarchy
impl PartialEq<BridgeChipHierarchy> for BridgeChipHierarchy
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &BridgeChipHierarchy) -> bool
fn ne(&self, other: &BridgeChipHierarchy) -> bool
This method tests for !=.
impl Eq for BridgeChipHierarchy
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more