pub enum FftMode {
Complex,
Real,
}Expand description
Variants§
Implementations§
Source§impl FftMode
impl FftMode
Sourcepub const fn is_complex(&self) -> bool
pub const fn is_complex(&self) -> bool
Returns true if the enum is FftMode::Complex otherwise false
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FftMode
impl<'de> Deserialize<'de> for FftMode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FftMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FftMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl IntoEnumIterator for FftMode
impl IntoEnumIterator for FftMode
type Iterator = FftModeIter
fn iter() -> FftModeIter ⓘ
Source§impl Ord for FftMode
impl Ord for FftMode
Source§impl PartialOrd for FftMode
impl PartialOrd for FftMode
Source§impl Serialize for FftMode
impl Serialize for FftMode
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 VariantNames for FftMode
impl VariantNames for FftMode
impl Copy for FftMode
impl Eq for FftMode
impl StructuralPartialEq for FftMode
Auto Trait Implementations§
impl Freeze for FftMode
impl RefUnwindSafe for FftMode
impl Send for FftMode
impl Sync for FftMode
impl Unpin for FftMode
impl UnwindSafe for FftMode
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