Enum sorceress::synthdef::DoneAction[][src]

pub enum DoneAction {
    None,
    PauseSelf,
    FreeSelf,
    FreeSelfAndPrev,
    FreeSelfAndNext,
    FreeSelfAndFreeAllInPrev,
    FreeSelfAndFreeAllInNext,
    FreeSelfToHead,
    FreeSelfToTail,
    FreeSelfPausePrev,
    FreeSelfPauseNext,
    FreeSelfAndDeepFreePrev,
    FreeSelfAndDeepFreeNext,
    FreeAllInGroup,
    FreeGroup,
    FreeSelfResumeNext,
}

An action to invoke when a UGen is finished playing.

A number of UGens implement “done actions”. These allow one to optionally free or pause the enclosing synth and other related nodes when the UGen is finished.

Variants

None

Do nothing when the UGen is finished.

PauseSelf

Pause the enclosing synth, but do not free it.

FreeSelf

Free the enclosing synth.

FreeSelfAndPrev

Free both this synth and the preceding node.

FreeSelfAndNext

Free both this synth and the following node.

FreeSelfAndFreeAllInPrev

Free this synth; if the preceding node is a group then do g_freeAll on it, else free it.

FreeSelfAndFreeAllInNext

Free this synth; if the following node is a group then do g_freeAll on it, else free it.

FreeSelfToHead

Free this synth and all preceding nodes in this group.

FreeSelfToTail

Free this synth and all following nodes in this group.

FreeSelfPausePrev

Free this synth and pause the preceding node.

FreeSelfPauseNext

Free this synth and pause the following node.

FreeSelfAndDeepFreePrev

Free this synth and if the preceding node is a group then deep free it, else free it.

FreeSelfAndDeepFreeNext

Free this synth and if the following node is a group then deep free it, else free it.

FreeAllInGroup

Free this synth and all other nodes in this group (before and after).

FreeGroup

Free the enclosing group and all nodes within it (including this synth).

FreeSelfResumeNext

Free this synth and resume the following node.

Trait Implementations

impl Clone for DoneAction[src]

impl Copy for DoneAction[src]

impl Debug for DoneAction[src]

impl Default for DoneAction[src]

impl Eq for DoneAction[src]

impl Hash for DoneAction[src]

impl Input for DoneAction[src]

impl Ord for DoneAction[src]

impl PartialEq<DoneAction> for DoneAction[src]

impl PartialOrd<DoneAction> for DoneAction[src]

impl StructuralEq for DoneAction[src]

impl StructuralPartialEq for DoneAction[src]

Auto Trait Implementations

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.