Enum sofiza::trigger[][src]

pub enum trigger {
    attack,
    release,
    first,
    legato,
    release_key,
}

Sets the trigger which will be used for the sample to play.

Variants

attack
release
first
legato
release_key

Implementations

impl trigger[src]

pub fn from_str(name: &str) -> Option<Self>[src]

Constructor from the variant name, as a string

Trait Implementations

impl Clone for trigger[src]

impl Debug for trigger[src]

impl PartialEq<trigger> for trigger[src]

impl StructuralPartialEq for trigger[src]

Auto Trait Implementations

impl RefUnwindSafe for trigger

impl Send for trigger

impl Sync for trigger

impl Unpin for trigger

impl UnwindSafe for trigger

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.