pub unsafe fn request_containing_fx_location(
        self,
        effect: NonNull<AEffect>,
    ) -> Option<TrackFxLocation> {
        let result = self.request_context(effect, 6) as i32;
        if result <= 0 {
            // Not supported
            return None;
        }
        let raw_index = result - 1;
        Some(TrackFxLocation::from_raw(raw_index))
    }
/// Returns the location in the FX chain at which the given VST plug-in currently resides.
///
/// Supported since REAPER v6.11. Returns `None` if not supported.
///
/// Don't let the fact that this returns a [`TrackFxLocation`] confuse you. It also works for
/// take and monitoring FX. If this is a take FX, it will return the index as variant
/// [`NormalFxChain`]. If this is a monitoring FX, it will return the index as variant
/// [`InputFxChain`].
///
/// # Safety
///
/// REAPER can crash if you pass an invalid pointer.
///
/// [`TrackFxLocation`]: enum.TrackFxLocation.html
/// [`NormalFxChain`]: enum.TrackFxLocation.html#variant.NormalFxChain
/// [`InputFxChain`]: enum.TrackFxLocation.html#variant.InputFxChain
Returns the location in the FX chain at which the given VST plug-in currently resides.

Don't let the fact that this returns a [`TrackFxLocation`] confuse you. It also works for
take and monitoring FX. If this is a take FX, it will return the index as variant
[`NormalFxChain`]. If this is a monitoring FX, it will return the index as variant
[`InputFxChain`].
Returns the location in the FX chain at which the given VST plug - in currently resides . Don ' t let the fact that this returns a [ ` TrackFxLocation ` ] confuse you . It also works for take and monitoring FX . If this is a take FX it will return the index as variant [ ` NormalFxChain ` ] . If this is a monitoring FX it will return the index as variant [ ` InputFxChain ` ] .
pub unsafe fn request_containing_fx_location(
        self,
        effect: NonNull<AEffect>,
    ) -> Option<TrackFxLocation> {
        let result = self.request_context(effect, 6) as i32;
        if result <= 0 {
            // Not supported
            return None;
        }
        let raw_index = result - 1;
        Some(TrackFxLocation::from_raw(raw_index))
    }
pub unsafe fn request_containing_fx_location ( self , effect : NonNull < AEffect > , ) -> Option < TrackFxLocation > { let result = self . request_context ( effect , 6 ) as i32 ; if result <= 0 { // Not supported return None ; } let raw_index = result - 1 ; Some ( TrackFxLocation :: from_raw ( raw_index ) ) }
Returns the location in the FX chain at which the given VST plug-in currently resides.
Returns the location in the FX chain at which the given VST plug - in currently resides .
self
effect
NonNull<AEffect>
self
effect
NonNull<AEffect>
safety
REAPER can crash if you pass an invalid pointer.

[`TrackFxLocation`]: enum.TrackFxLocation.html
[`NormalFxChain`]: enum.TrackFxLocation.html#variant.NormalFxChain
[`InputFxChain`]: enum.TrackFxLocation.html#variant.InputFxChain
REAPER can crash if you pass an invalid pointer . [ ` TrackFxLocation ` ] : enum . TrackFxLocation . html [ ` NormalFxChain ` ] : enum . TrackFxLocation . html#variant . NormalFxChain [ ` InputFxChain ` ] : enum . TrackFxLocation . html#variant . InputFxChain