pub struct TakeFX<'a, T: ProbablyMutable> { /* private fields */ }
Implementations
sourceimpl<'a, T: ProbablyMutable> TakeFX<'a, T>
impl<'a, T: ProbablyMutable> TakeFX<'a, T>
pub fn from_name(
parent: &'a Take<'a, T>,
name: impl Into<String>
) -> Option<Self>
sourcepub fn iter_params(&'a self) -> FXParamIterator<'_, T, Take<'a, T>, Self>ⓘNotable traits for FXParamIterator<'a, M, P, F>impl<'a, M: ProbablyMutable, P: KnowsProject, F: FXParamParent<'a, M, P>> Iterator for FXParamIterator<'a, M, P, F> type Item = FXParam<'a, M, P, F>;
pub fn iter_params(&'a self) -> FXParamIterator<'_, T, Take<'a, T>, Self>ⓘNotable traits for FXParamIterator<'a, M, P, F>impl<'a, M: ProbablyMutable, P: KnowsProject, F: FXParamParent<'a, M, P>> Iterator for FXParamIterator<'a, M, P, F> type Item = FXParam<'a, M, P, F>;
Iterate through (Immutable) FX params
Trait Implementations
sourceimpl<'a, T: ProbablyMutable> FX<T> for TakeFX<'a, T>
impl<'a, T: ProbablyMutable> FX<T> for TakeFX<'a, T>
sourcefn n_inputs(&self) -> usize
fn n_inputs(&self) -> usize
Panics
if reaper returns error, which, probably, signals, that FX is deleted.
sourcefn n_outputs(&self) -> usize
fn n_outputs(&self) -> usize
Panics
if reaper returns error, which, probably, signals, that FX is deleted.
sourcefn n_params(&self) -> usize
fn n_params(&self) -> usize
Panics
if reaper returns error, which, probably, signals, that FX is deleted.
type Parent = &'a Take<'a, T>
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 is_enabled(&self) -> bool
fn is_online(&self) -> bool
fn n_presets(&self) -> ReaperStaticResult<usize>
sourcefn preset(&self) -> ReaperStaticResult<String>
fn preset(&self) -> ReaperStaticResult<String>
FX Preset name
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)
fn name(&self) -> String
sourceimpl<'a> FXMut for TakeFX<'a, Mutable>
impl<'a> FXMut for TakeFX<'a, Mutable>
type Parent = Track<'a, Mutable>
fn set_enabled(&mut self, enable: bool)
fn set_online(&mut self, online: bool)
fn close_chain(&mut self)
fn close_floating_window(&mut self)
fn show_chain(&mut self)
fn show_floating_window(&mut self)
fn move_to_take(self, take: &Take<'_, Mutable>, desired_index: usize)
fn move_to_track(self, track: &Track<'_, Mutable>, desired_index: usize)
sourcefn set_preset(&mut self, preset: impl Into<String>) -> ReaperStaticResult<()>
fn set_preset(&mut self, preset: impl Into<String>) -> ReaperStaticResult<()>
Preset can be as preset name from list of fx presets. Or path to
.vstpreset
file. Read morefn set_preset_index(&mut self, preset: usize) -> ReaperStaticResult<()>
fn previous_preset(&mut self) -> ReaperStaticResult<()>
fn next_preset(&mut self) -> ReaperStaticResult<()>
sourceimpl<'a, T: ProbablyMutable> FXParent<'a, TakeFX<'a, Immutable>> for Take<'a, T>
impl<'a, T: ProbablyMutable> FXParent<'a, TakeFX<'a, Immutable>> for Take<'a, T>
fn n_fx(&self) -> usize
fn get_fx(&self, index: usize) -> Option<TakeFX<'_, Immutable>>
fn iter_fx(&'a self) -> FXIterator<'a, T, Self>ⓘNotable traits for FXIterator<'a, T, P>impl<'a, T: FX<Immutable> + 'a, P: FXParent<'a, T>> Iterator for FXIterator<'a, T, P> type Item = T;
where
Self: Sized,
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for TakeFX<'a, T>where
T: RefUnwindSafe,
impl<'a, T> !Send for TakeFX<'a, T>
impl<'a, T> !Sync for TakeFX<'a, T>
impl<'a, T> Unpin for TakeFX<'a, T>
impl<'a, T> UnwindSafe for TakeFX<'a, T>where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
sourcefn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read moresourcefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read moresourcefn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read moresourcefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more