pub enum FftDirection {
Forward,
Inverse,
}
Expand description
Represents a FFT direction, IE a forward FFT or an inverse FFT
Variants§
Implementations§
source§impl FftDirection
impl FftDirection
sourcepub fn opposite_direction(&self) -> FftDirection
pub fn opposite_direction(&self) -> FftDirection
Returns the opposite direction of self
.
- If
self
isFftDirection::Forward
, returnsFftDirection::Inverse
- If
self
isFftDirection::Inverse
, returnsFftDirection::Forward
Trait Implementations§
source§impl Clone for FftDirection
impl Clone for FftDirection
source§fn clone(&self) -> FftDirection
fn clone(&self) -> FftDirection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FftDirection
impl Debug for FftDirection
source§impl Display for FftDirection
impl Display for FftDirection
source§impl PartialEq<FftDirection> for FftDirection
impl PartialEq<FftDirection> for FftDirection
source§fn eq(&self, other: &FftDirection) -> bool
fn eq(&self, other: &FftDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.