Struct sierra::DeviceInfo

source ·
pub struct DeviceInfo {
    pub name: String,
    pub kind: Option<DeviceKind>,
    pub features: Vec<Feature>,
    pub families: Vec<FamilyInfo>,
}
Expand description

Contains descriptive information about device.

Fields§

§name: String

Name of the device.

§kind: Option<DeviceKind>

Kind of the device.

§features: Vec<Feature>

Features supported by device.

§families: Vec<FamilyInfo>

Information about queue families that device has.

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.