[][src]Struct nvml_wrapper::struct_wrappers::device::BridgeChipHierarchy

pub struct BridgeChipHierarchy {
    pub chips_hierarchy: Vec<BridgeChipInfo>,
    pub chip_count: u8,
}

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

impl Clone for BridgeChipHierarchy[src]

impl Debug for BridgeChipHierarchy[src]

impl Eq for BridgeChipHierarchy[src]

impl Hash for BridgeChipHierarchy[src]

impl PartialEq<BridgeChipHierarchy> for BridgeChipHierarchy[src]

impl StructuralEq for BridgeChipHierarchy[src]

impl StructuralPartialEq for BridgeChipHierarchy[src]

impl TryFrom<nvmlBridgeChipHierarchy_st> for BridgeChipHierarchy[src]

type Error = NvmlError

The type returned in the event of a conversion error.

pub fn try_from(value: nvmlBridgeChipHierarchy_t) -> Result<Self, Self::Error>[src]

Construct BridgeChipHierarchy from the corresponding C struct.

Errors

  • UnexpectedVariant, for which you can read the docs for

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.