pub trait FX<T: ProbablyMutable>where
Self: Sized,{
type Parent;
fn from_index(parent: Self::Parent, index: usize) -> Option<Self>;
fn name(&self) -> String;
fn is_enabled(&self) -> bool;
fn is_online(&self) -> bool;
fn n_inputs(&self) -> usize;
fn n_outputs(&self) -> usize;
fn n_params(&self) -> usize;
fn n_presets(&self) -> ReaperStaticResult<usize>;
fn preset(&self) -> ReaperStaticResult<String>;
fn preset_index(&self) -> ReaperStaticResult<usize>;
fn copy_to_take(&self, take: &mut Take<'_, Mutable>, desired_index: usize);
fn copy_to_track(&self, track: &mut Track<'_, Mutable>, desired_index: usize);
}
Required Associated Types
Required Methods
sourcefn from_index(parent: Self::Parent, index: usize) -> Option<Self>
fn from_index(parent: Self::Parent, index: usize) -> Option<Self>
Get FX from parent, if exists.
fn name(&self) -> String
fn is_enabled(&self) -> bool
fn is_online(&self) -> bool
fn n_inputs(&self) -> usize
fn n_outputs(&self) -> usize
fn n_params(&self) -> usize
fn n_presets(&self) -> ReaperStaticResult<usize>
sourcefn preset(&self) -> ReaperStaticResult<String>
fn preset(&self) -> ReaperStaticResult<String>
FX Preset name