Struct lv2hm::Lv2Host[][src]

pub struct Lv2Host { /* fields omitted */ }

Implementations

impl Lv2Host[src]

pub fn new(plugin_cap: usize, buffer_len: usize) -> Self[src]

pub fn get_index(&self, name: &str) -> Option<usize>[src]

pub fn test_midi_atom(&mut self, typebytes: [u8; 4], seqbytes: [u8; 4])[src]

pub fn add_plugin(
    &mut self,
    uri: &str,
    name: String,
    features_ptr: *const *const LV2Feature
) -> Result<(), String>
[src]

pub fn remove_plugin(&mut self, name: &str) -> bool[src]

pub fn set_value(&mut self, plugin: &str, port: &str, value: f32) -> bool[src]

pub fn reset_value(&mut self, plugin: &str, port: &str) -> bool[src]

pub fn get_plugin_sheet(&self, index: usize) -> PluginSheet[src]

pub fn apply_plugin(
    &mut self,
    index: usize,
    input_frame: (f32, f32)
) -> (f32, f32)
[src]

pub fn apply_plugin_n_frames(
    &mut self,
    index: usize,
    input: &[f32]
) -> Option<&[f32]>
[src]

pub fn apply_instrument(&mut self, index: usize) -> (f32, f32)[src]

Trait Implementations

impl Drop for Lv2Host[src]

fn drop(&mut self)[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl RefUnwindSafe for Lv2Host

impl !Send for Lv2Host

impl !Sync for Lv2Host

impl Unpin for Lv2Host

impl UnwindSafe for Lv2Host

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.