[][src]Struct yfft::Options

pub struct Options {
    pub input_data_order: DataOrder,
    pub output_data_order: DataOrder,
    pub input_data_format: DataFormat,
    pub output_data_format: DataFormat,
    pub len: usize,
    pub inverse: bool,
}

The FFT kernel configuration.

Fields

input_data_order: DataOrder

Specifies the input data order.

  • Must be Natural if output_data_order is not Natural, or put in another way, this and input_data_order must not be not Natural at the same time.
  • Must be Natural if input_data_format is Real.
  • Must be Natural if input_data_format is HalfComplex.
output_data_order: DataOrder

Specifies the output data order.

  • Must be Natural if input_data_order is not Natural, or put in another way, this and output_data_order must not be not Natural at the same time.
  • Must be Natural if output_data_format is Real.
  • Must be Natural if output_data_format is HalfComplex.
input_data_format: DataFormat

Specifies the input data format.

  • Must not be Real if inverse == true.
output_data_format: DataFormat

Specifies the output data format.

  • Can be Real only if inverse == true && input_data_format == HalfComplex.
len: usize

Specifies the length of the data to be processed.

  • Must be an even number if input_data_format is Real or HalfComplex
  • Must be an even number if output_data_format is Real or HalfComplex
inverse: bool

Specifies whether the inverse (backward) transformation is used.

Trait Implementations

impl Clone for Options[src]

impl Copy for Options[src]

impl Debug for Options[src]

impl Eq for Options[src]

impl PartialEq<Options> for Options[src]

impl StructuralEq for Options[src]

impl StructuralPartialEq for Options[src]

Auto Trait Implementations

impl RefUnwindSafe for Options

impl Send for Options

impl Sync for Options

impl Unpin for Options

impl UnwindSafe for Options

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 
[src]

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]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.