pub struct CardPortInfo<'a> {
    pub name: Option<Cow<'a, str>>,
    pub description: Option<Cow<'a, str>>,
    pub priority: u32,
    pub available: PortAvailable,
    pub direction: FlagSet,
    pub proplist: Proplist,
    pub latency_offset: i64,
    pub profiles: Vec<CardProfileInfo2<'a>>,
}
Expand description

Stores information about a specific port of a card.

Please note that this structure can be extended as part of evolutionary API updates at any time in any new release.

Fields

name: Option<Cow<'a, str>>

Name of this port.

description: Option<Cow<'a, str>>

Description of this port.

priority: u32

The higher this value is, the more useful this port is as a default.

available: PortAvailable

Availability status of this port.

direction: FlagSet

The direction of this port.

proplist: Proplist

Property list.

latency_offset: i64

Latency offset of the port that gets added to the sink/source latency when the port is active.

profiles: Vec<CardProfileInfo2<'a>>

Set of available profiles.

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.