Struct ladspa::Port [] [src]

pub struct Port {
    pub name: &'static str,
    pub desc: PortDescriptor,
    pub hint: Option<ControlHint>,
    pub default: Option<DefaultValue>,
    pub lower_bound: Option<Data>,
    pub upper_bound: Option<Data>,
}

Represents an input or output to the plugin representing either audio or control data.

Fields

The name of the port. For control ports, this will likely be shown by the host in an automatically generated GUI next to the control. For audio ports, it is mostly just for identification in your code but some hosts may display it.

Describes the type of port: audio or control, input or output.

Most useful on control inputs but can be used on any type of port.

Most useful on control inputs but can be used on any type of port.

The lower bound of values to accepted by default (the host may ignore this).

The upper bound of values to accepted by default (the host may ignore this).

Trait Implementations

impl Copy for Port
[src]

impl Clone for Port
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Port
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Port

impl Sync for Port