pub struct FftPlanExecutor { /* private fields */ }
Expand description
Plan wrapper that provides context and execution methods
Implementations§
Source§impl FftPlanExecutor
impl FftPlanExecutor
Sourcepub fn with_context(plan: Arc<FftPlan>, context: BackendContext) -> Self
pub fn with_context(plan: Arc<FftPlan>, context: BackendContext) -> Self
Create a new executor with a specific context
Sourcepub fn execute(
&self,
input: &[Complex64],
output: &mut [Complex64],
) -> FFTResult<()>
pub fn execute( &self, input: &[Complex64], output: &mut [Complex64], ) -> FFTResult<()>
Execute the plan on the given input/output buffers
Sourcepub fn execute_inplace(&self, buffer: &mut [Complex64]) -> FFTResult<()>
pub fn execute_inplace(&self, buffer: &mut [Complex64]) -> FFTResult<()>
Execute the plan in-place on the given buffer
Auto Trait Implementations§
impl Freeze for FftPlanExecutor
impl !RefUnwindSafe for FftPlanExecutor
impl Send for FftPlanExecutor
impl Sync for FftPlanExecutor
impl Unpin for FftPlanExecutor
impl !UnwindSafe for FftPlanExecutor
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