pub enum WindowType {
Ones,
Rectangle,
Hamming,
Hanning,
Hanningz,
Blackman,
BlackmanHarris,
Gaussian,
Welch,
Parzen,
}
Expand description
The window function type
See:
- Window function on Wikipedia
- Amalia de Götzen, Nicolas Bernardini, and Daniel Arfib. Traditional (?) implementations of a phase vocoder: the tricks of the trade. In Proceedings of the International Conference on Digital Audio Effects (DAFx-00), pages 37–44, Uni- versity of Verona, Italy, 2000. pdf
Variants§
Implementations§
Trait Implementations§
Source§impl AsNativeStr for WindowType
impl AsNativeStr for WindowType
Source§fn as_native_str(&self) -> &'static str
fn as_native_str(&self) -> &'static str
Implementations should return strings ended with ‘\0’
(for ex.:
"energy\0"
)Source§fn as_native_cstr(&self) -> *const c_char
fn as_native_cstr(&self) -> *const c_char
Get constant as null-terminated C-string
Source§fn as_rust_str(&self) -> &'static str
fn as_rust_str(&self) -> &'static str
Get constant as rust string slice
Source§impl AsRef<str> for WindowType
impl AsRef<str> for WindowType
Source§impl Clone for WindowType
impl Clone for WindowType
Source§fn clone(&self) -> WindowType
fn clone(&self) -> WindowType
Returns a duplicate 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 WindowType
impl Debug for WindowType
Source§impl Display for WindowType
impl Display for WindowType
Source§impl FromStr for WindowType
impl FromStr for WindowType
Source§impl Hash for WindowType
impl Hash for WindowType
Source§impl PartialEq for WindowType
impl PartialEq for WindowType
impl Copy for WindowType
impl Eq for WindowType
impl StructuralPartialEq for WindowType
Auto Trait Implementations§
impl Freeze for WindowType
impl RefUnwindSafe for WindowType
impl Send for WindowType
impl Sync for WindowType
impl Unpin for WindowType
impl UnwindSafe for WindowType
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