[][src]Struct fpsdk::host::Voicer

pub struct Voicer { /* fields omitted */ }

Use this to manually release, kill and notify voices about events.

Trait Implementations

impl Debug for Voicer[src]

impl SendVoiceHandler for Voicer[src]

fn release(&mut self, tag: Tag)[src]

Tell the host the specified voice should be silent (Note Off).

fn kill(&mut self, tag: Tag)[src]

Tell the host that the specified voice can be killed (freed from memory).

This method forces FL Studio to ask the plugin to destroy its voice.

fn on_event(&mut self, tag: Tag, event: Event) -> Option<ValuePtr>[src]

Tell the host that some event has happened concerning the specified voice.

Auto Trait Implementations

impl RefUnwindSafe for Voicer

impl Send for Voicer

impl Sync for Voicer

impl Unpin for Voicer

impl UnwindSafe for Voicer

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.