pub struct FftContext { /* private fields */ }
Expand description
Context manager for FFT settings
Implementations§
Source§impl FftContext
impl FftContext
Source§impl FftContext
impl FftContext
Sourcepub fn with_backend(self, backendname: &str) -> FFTResult<Self>
pub fn with_backend(self, backendname: &str) -> FFTResult<Self>
Set backend for this context
Sourcepub fn with_workers(self, _numworkers: usize) -> Self
pub fn with_workers(self, _numworkers: usize) -> Self
Set number of workers for this context
Sourcepub fn with_cache(self, enabled: bool) -> Self
pub fn with_cache(self, enabled: bool) -> Self
Enable or disable plan caching for this context
Trait Implementations§
Source§impl Default for FftContext
impl Default for FftContext
Auto Trait Implementations§
impl Freeze for FftContext
impl RefUnwindSafe for FftContext
impl Send for FftContext
impl Sync for FftContext
impl Unpin for FftContext
impl UnwindSafe for FftContext
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