Enum rgsl::FftDirection
source · pub enum FftDirection {
Forward,
Backward,
}
Expand description
This gives the sign in the formula:
h(f) = \sum x(t) exp(+/- 2 pi i f t)
where - is the forward transform direction and + the inverse direction
Variants§
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 PartialEq for FftDirection
impl PartialEq 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 ==
.source§impl PartialOrd for FftDirection
impl PartialOrd for FftDirection
source§fn partial_cmp(&self, other: &FftDirection) -> Option<Ordering>
fn partial_cmp(&self, other: &FftDirection) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy 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§
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