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 for FftDirection
impl PartialEq for FftDirection
impl Copy for FftDirection
impl Eq for FftDirection
impl StructuralPartialEq for FftDirection
Auto Trait Implementations§
impl Freeze for FftDirection
impl RefUnwindSafe for FftDirection
impl Send for FftDirection
impl Sync for FftDirection
impl Unpin for FftDirection
impl UnwindSafe for FftDirection
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