#[non_exhaustive]pub enum Method {
UserProvided(FftAlgo),
Measure(Duration),
}
Expand description
Method for selecting the ordered FFT plan.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UserProvided(FftAlgo)
Select the FFT plan by manually providing the underlying algorithm.
Measure(Duration)
Available on crate feature
std
only.Select the FFT plan by measuring the running time of all the possible plans and selecting the fastest one. The provided duration specifies how long the benchmark of each plan should last.
Trait Implementations§
impl Copy for Method
impl Eq for Method
impl StructuralPartialEq for Method
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more