Struct rsynth::meta::MetaData[][src]

pub struct MetaData<G, AP, MP> {
    pub general_meta: G,
    pub audio_port_meta: InOut<AP>,
    pub midi_port_meta: InOut<MP>,
}

Represents general-purpose meta-data of an audio application or plugin.

See the [module level documentation] for an example.

The struct MetaData<G, AP, MP> has three type parameters:

Fields

general_meta: G

The meta-data about the application or plugin as a whole.

audio_port_meta: InOut<AP>

Meta-data about the audio ports.

midi_port_meta: InOut<MP>

Meta-data about the midi ports.

Trait Implementations

impl<G, AP, MP> General for MetaData<G, AP, MP>[src]

type GeneralData = G

The data-type of the general meta-data.

impl<G, AP, MP> Port<AudioPort> for MetaData<G, AP, MP>[src]

type PortData = AP

impl<G, AP, MP> Port<MidiPort> for MetaData<G, AP, MP>[src]

type PortData = MP

Auto Trait Implementations

impl<G, AP, MP> RefUnwindSafe for MetaData<G, AP, MP> where
    AP: RefUnwindSafe,
    G: RefUnwindSafe,
    MP: RefUnwindSafe

impl<G, AP, MP> Send for MetaData<G, AP, MP> where
    AP: Send,
    G: Send,
    MP: Send

impl<G, AP, MP> Sync for MetaData<G, AP, MP> where
    AP: Sync,
    G: Sync,
    MP: Sync

impl<G, AP, MP> Unpin for MetaData<G, AP, MP> where
    AP: Unpin,
    G: Unpin,
    MP: Unpin

impl<G, AP, MP> UnwindSafe for MetaData<G, AP, MP> where
    AP: UnwindSafe,
    G: UnwindSafe,
    MP: UnwindSafe

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<S, T> Duplex<S> for T where
    T: FromSample<S> + ToSample<S>, 

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

impl<S> FromSample<S> for S

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

impl<T, U> ToSample<U> for T where
    U: FromSample<T>, 

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.