[][src]Enum vst::plugin::CanDo

pub enum CanDo {
    SendEvents,
    SendMidiEvent,
    ReceiveEvents,
    ReceiveMidiEvent,
    ReceiveTimeInfo,
    Offline,
    MidiProgramNames,
    Bypass,
    ReceiveSysExEvent,
    MidiSingleNoteTuningChange,
    MidiKeyBasedInstrumentControl,
    Other(String),
}

Features which are optionally supported by a plugin. These are queried by the host at run time.

Variants

SendEvents
SendMidiEvent
ReceiveEvents
ReceiveMidiEvent
ReceiveTimeInfo
Offline
MidiProgramNames
Bypass
ReceiveSysExEvent
MidiSingleNoteTuningChange
MidiKeyBasedInstrumentControl
Other(String)

Implementations

impl CanDo[src]

pub fn from_str(s: &str) -> CanDo[src]

Converts a string to a CanDo instance. Any given string that does not match the predefined values will return a CanDo::Other value.

Trait Implementations

impl Debug for CanDo[src]

impl Into<String> for CanDo[src]

Auto Trait Implementations

impl RefUnwindSafe for CanDo

impl Send for CanDo

impl Sync for CanDo

impl Unpin for CanDo

impl UnwindSafe for CanDo

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<T> From<T> for T[src]

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

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.