Struct vst::channels::ChannelInfo

source ·
pub struct ChannelInfo { /* private fields */ }
Expand description

Information about an input / output channel. This isn’t necessary for a channel to function but informs the host how the channel is meant to be used.

Implementations§

Construct a new ChannelInfo object.

name is a user friendly name for this channel limited to MAX_LABEL characters. short_name is an optional field which provides a short name limited to MAX_SHORT_LABEL. active determines whether this channel is active. arrangement_type describes the arrangement type for this channel.

Trait Implementations§

Converts to this type from the input type.

Convert to the VST api equivalent of this structure.

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.