[−][src]Struct yfft::Env
Encapsulates the working area required for a transformation.
Methods
impl<TNum, TSetupRef> Env<TNum, TSetupRef> where
TNum: Num + 'static,
TSetupRef: Borrow<Setup<TNum>>,
[src]
TNum: Num + 'static,
TSetupRef: Borrow<Setup<TNum>>,
pub fn new(setup: TSetupRef) -> Self
[src]
pub fn transform(&mut self, data: &mut [TNum])
[src]
Transforms the supplied complex array data
and writes the result to the same array (therefore this is an
in-place operation).
The array must be arranged in a interleaved order, in which the odd-th and even-th elements represent the real and imaginary components, respectively.
Trait Implementations
impl<TNum: Clone, TSetupRef: Clone> Clone for Env<TNum, TSetupRef>
[src]
impl<TNum: Debug, TSetupRef: Debug> Debug for Env<TNum, TSetupRef>
[src]
Auto Trait Implementations
impl<TNum, TSetupRef> RefUnwindSafe for Env<TNum, TSetupRef> where
TNum: RefUnwindSafe,
TSetupRef: RefUnwindSafe,
TNum: RefUnwindSafe,
TSetupRef: RefUnwindSafe,
impl<TNum, TSetupRef> Send for Env<TNum, TSetupRef> where
TNum: Send,
TSetupRef: Send,
TNum: Send,
TSetupRef: Send,
impl<TNum, TSetupRef> Sync for Env<TNum, TSetupRef> where
TNum: Sync,
TSetupRef: Sync,
TNum: Sync,
TSetupRef: Sync,
impl<TNum, TSetupRef> Unpin for Env<TNum, TSetupRef> where
TNum: Unpin,
TSetupRef: Unpin,
TNum: Unpin,
TSetupRef: Unpin,
impl<TNum, TSetupRef> UnwindSafe for Env<TNum, TSetupRef> where
TNum: UnwindSafe,
TSetupRef: UnwindSafe,
TNum: UnwindSafe,
TSetupRef: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> Cast<U> for T where
U: FromCast<T>,
[src]
U: FromCast<T>,
impl<T> From<T> for T
[src]
impl<T> FromCast<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,