pub struct PlanBuilder { /* private fields */ }
Expand description
Builder for creating customized FFT plans
Implementations§
Source§impl PlanBuilder
impl PlanBuilder
Sourcepub fn backend(self, backend: PlannerBackend) -> Self
pub fn backend(self, backend: PlannerBackend) -> Self
Set the backend for the plan
Sourcepub fn strategy(self, strategy: PlanningStrategy) -> Self
pub fn strategy(self, strategy: PlanningStrategy) -> Self
Set the planning strategy
Sourcepub fn measure_performance(self, enable: bool) -> Self
pub fn measure_performance(self, enable: bool) -> Self
Enable or disable performance measurement
Sourcepub fn serialized_db_path(self, path: &str) -> Self
pub fn serialized_db_path(self, path: &str) -> Self
Set the path for serialized plans
Sourcepub fn auto_tune_config(self, config: AutoTuneConfig) -> Self
pub fn auto_tune_config(self, config: AutoTuneConfig) -> Self
Set auto-tuning configuration
Sourcepub fn max_cached_plans(self, max: usize) -> Self
pub fn max_cached_plans(self, max: usize) -> Self
Set maximum number of cached plans
Sourcepub fn max_plan_age(self, age: Duration) -> Self
pub fn max_plan_age(self, age: Duration) -> Self
Set maximum age for cached plans
Sourcepub fn parallel_planning(self, enable: bool) -> Self
pub fn parallel_planning(self, enable: bool) -> Self
Enable or disable parallel planning
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlanBuilder
impl RefUnwindSafe for PlanBuilder
impl Send for PlanBuilder
impl Sync for PlanBuilder
impl Unpin for PlanBuilder
impl UnwindSafe for PlanBuilder
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more