Skip to main content

fft_plan_cache_selector

Function fft_plan_cache_selector 

Source
pub const fn fft_plan_cache_selector() -> ExtensionCacheSelector
Expand description

Select the private CPU RustFFT plan entries in an extension runtime cache.

Other crate::FftBackend implementations use distinct cache names in the same FFT extension family.

ยงExamples

let selector = tenferro_fft::fft_plan_cache_selector();
assert!(matches!(
    selector,
    tenferro_runtime::ExtensionCacheSelector::Cache { .. }
));