#[repr(i32)]pub enum FftType {
Fft = 0,
Ifft = 1,
Rfft = 2,
Irfft = 3,
}Variants§
Fft = 0
Forward FFT; complex in, complex out.
Ifft = 1
Inverse FFT; complex in, complex out.
Rfft = 2
Forward real FFT; real in, fft_length / 2 + 1 complex out
Irfft = 3
Inverse real FFT; fft_length / 2 + 1 complex in,
Implementations§
Source§impl FftType
impl FftType
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Ord for FftType
impl Ord for FftType
Source§impl PartialOrd for FftType
impl PartialOrd for FftType
impl Copy for FftType
impl Eq for FftType
impl StructuralPartialEq for FftType
Auto Trait Implementations§
impl Freeze for FftType
impl RefUnwindSafe for FftType
impl Send for FftType
impl Sync for FftType
impl Unpin for FftType
impl UnwindSafe for FftType
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)