Enum concision_core::ops::fft::cmp::FftDirection
source · #[repr(usize)]pub enum FftDirection {
Forward = 0,
Inverse = 1,
}Expand description
Variants§
Implementations§
source§impl FftDirection
impl FftDirection
sourcepub const fn is_forward(&self) -> bool
pub const fn is_forward(&self) -> bool
Returns true if the enum is FftDirection::Forward otherwise false
sourcepub const fn is_inverse(&self) -> bool
pub const fn is_inverse(&self) -> bool
Returns true if the enum is FftDirection::Inverse otherwise false
Trait Implementations§
source§impl AsRef<str> for FftDirection
impl AsRef<str> for FftDirection
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 Default for FftDirection
impl Default for FftDirection
source§fn default() -> FftDirection
fn default() -> FftDirection
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FftDirection
impl<'de> Deserialize<'de> for FftDirection
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for FftDirection
impl Display for FftDirection
source§impl From<FftDirection> for usize
impl From<FftDirection> for usize
source§fn from(direction: FftDirection) -> Self
fn from(direction: FftDirection) -> Self
Converts to this type from the input type.
source§impl From<usize> for FftDirection
impl From<usize> for FftDirection
source§impl FromStr for FftDirection
impl FromStr for FftDirection
source§impl Hash for FftDirection
impl Hash for FftDirection
source§impl IntoEnumIterator for FftDirection
impl IntoEnumIterator for FftDirection
type Iterator = FftDirectionIter
fn iter() -> FftDirectionIter ⓘ
source§impl Ord for FftDirection
impl Ord for FftDirection
source§fn cmp(&self, other: &FftDirection) -> Ordering
fn cmp(&self, other: &FftDirection) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
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 moresource§impl Serialize for FftDirection
impl Serialize for FftDirection
source§impl TryFrom<&str> for FftDirection
impl TryFrom<&str> for FftDirection
source§impl VariantArray for FftDirection
impl VariantArray for FftDirection
source§impl VariantNames for FftDirection
impl VariantNames 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