Enum reaper_medium::GetFocusedFxResult
source · [−]pub enum GetFocusedFxResult {
TrackFx {
track_location: TrackLocation,
fx_location: TrackFxLocation,
},
TakeFx {
track_index: u32,
item_index: u32,
take_index: u32,
fx_index: u32,
},
Unknown(Hidden<i32>),
}
Variants
TrackFx
Fields
track_location: TrackLocation
Track on which the FX is located.
fx_location: TrackFxLocation
Location of the FX on that track.
The (last) focused 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.
take_index: u32
Index of the take within the item.
fx_index: u32
Index of the FX within the take FX chain.
The (last) focused FX is a take FX.
Unknown(Hidden<i32>)
Represents a variant unknown to reaper-rs. Please contribute if you encounter a variant that is supported by REAPER but not yet by reaper-rs. Thanks!
Trait Implementations
sourceimpl Clone for GetFocusedFxResult
impl Clone for GetFocusedFxResult
sourcefn clone(&self) -> GetFocusedFxResult
fn clone(&self) -> GetFocusedFxResult
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 GetFocusedFxResult
impl Debug for GetFocusedFxResult
sourceimpl Hash for GetFocusedFxResult
impl Hash for GetFocusedFxResult
sourceimpl PartialEq<GetFocusedFxResult> for GetFocusedFxResult
impl PartialEq<GetFocusedFxResult> for GetFocusedFxResult
sourcefn eq(&self, other: &GetFocusedFxResult) -> bool
fn eq(&self, other: &GetFocusedFxResult) -> bool
impl Copy for GetFocusedFxResult
impl Eq for GetFocusedFxResult
impl StructuralEq for GetFocusedFxResult
impl StructuralPartialEq for GetFocusedFxResult
Auto Trait Implementations
impl RefUnwindSafe for GetFocusedFxResult
impl Send for GetFocusedFxResult
impl Sync for GetFocusedFxResult
impl Unpin for GetFocusedFxResult
impl UnwindSafe for GetFocusedFxResult
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