Enum rustfft::FftDirection
source · pub enum FftDirection {
Forward,
Inverse,
}
Expand description
Represents a FFT direction, IE a forward FFT or an inverse FFT
Variants
Forward
Inverse
Implementations
sourceimpl 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
sourceimpl Clone for FftDirection
impl Clone for FftDirection
sourcefn clone(&self) -> FftDirection
fn clone(&self) -> FftDirection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FftDirection
impl Debug for FftDirection
sourceimpl Display for FftDirection
impl Display for FftDirection
sourceimpl PartialEq<FftDirection> for FftDirection
impl PartialEq<FftDirection> for FftDirection
sourcefn eq(&self, other: &FftDirection) -> bool
fn eq(&self, other: &FftDirection) -> bool
impl Copy for FftDirection
impl Eq for FftDirection
impl StructuralEq for FftDirection
impl StructuralPartialEq for FftDirection
Auto Trait Implementations
impl RefUnwindSafe for FftDirection
impl Send for FftDirection
impl Sync for FftDirection
impl Unpin for FftDirection
impl UnwindSafe for FftDirection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more