pub enum FftDirection {
Forward = 0,
Inverse = 1,
}Expand description
Variants§
Implementations§
Source§impl FftDirection
impl FftDirection
pub fn forward() -> FftDirection
pub fn inverse() -> FftDirection
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<FftDirection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FftDirection, <__D as Deserializer<'de>>::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) -> usize
fn from(direction: FftDirection) -> usize
Converts to this type from the input type.
Source§impl From<usize> for FftDirection
impl From<usize> for FftDirection
Source§fn from(direction: usize) -> FftDirection
fn from(direction: usize) -> FftDirection
Converts to this type from the input type.
Source§impl FromStr for FftDirection
impl FromStr for FftDirection
Source§type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<FftDirection, <FftDirection as FromStr>::Err>
fn from_str(s: &str) -> Result<FftDirection, <FftDirection as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§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§impl PartialOrd for FftDirection
impl PartialOrd for FftDirection
Source§impl Serialize for FftDirection
impl Serialize for FftDirection
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<&str> for FftDirection
impl TryFrom<&str> for FftDirection
Source§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Source§fn try_from(
s: &str,
) -> Result<FftDirection, <FftDirection as TryFrom<&str>>::Error>
fn try_from( s: &str, ) -> Result<FftDirection, <FftDirection as TryFrom<&str>>::Error>
Performs the conversion.
Source§impl VariantArray for FftDirection
impl VariantArray for FftDirection
const VARIANTS: &'static [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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<K, S> Id<K> for Swhere
S: Borrow<K>,
K: Identifier,
impl<K, S> Id<K> for Swhere
S: Borrow<K>,
K: Identifier,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more