pub enum GetLastTouchedFxResult {
TrackFx {
track_location: TrackLocation,
fx_location: TrackFxLocation,
param_index: u32,
},
TakeFx {
track_index: u32,
item_index: u32,
take_index: u32,
fx_index: u32,
param_index: u32,
},
}
Variants
TrackFx
Fields
track_location: TrackLocation
Track on which the FX is located.
fx_location: TrackFxLocation
Location of the FX on that track.
param_index: u32
Index of the last touched parameter.
The last touched FX is a track FX.
TakeFx
Fields
track_index: u32
Index of the track on which the item is located.
item_index: u32
Index of the item on that track.
Attention: It’s an index, so it’s zero-based (the one-based result from the low-level function has been transformed for more consistency).
take_index: u32
Index of the take within the item.
fx_index: u32
Index of the FX within the take FX chain.
param_index: u32
Index of the last touched parameter.
The last touched FX is a take FX.
Trait Implementations
sourceimpl Clone for GetLastTouchedFxResult
impl Clone for GetLastTouchedFxResult
sourcefn clone(&self) -> GetLastTouchedFxResult
fn clone(&self) -> GetLastTouchedFxResult
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GetLastTouchedFxResult
impl Debug for GetLastTouchedFxResult
sourceimpl Hash for GetLastTouchedFxResult
impl Hash for GetLastTouchedFxResult
sourceimpl PartialEq<GetLastTouchedFxResult> for GetLastTouchedFxResult
impl PartialEq<GetLastTouchedFxResult> for GetLastTouchedFxResult
sourcefn eq(&self, other: &GetLastTouchedFxResult) -> bool
fn eq(&self, other: &GetLastTouchedFxResult) -> bool
impl Copy for GetLastTouchedFxResult
impl Eq for GetLastTouchedFxResult
impl StructuralEq for GetLastTouchedFxResult
impl StructuralPartialEq for GetLastTouchedFxResult
Auto Trait Implementations
impl RefUnwindSafe for GetLastTouchedFxResult
impl Send for GetLastTouchedFxResult
impl Sync for GetLastTouchedFxResult
impl Unpin for GetLastTouchedFxResult
impl UnwindSafe for GetLastTouchedFxResult
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