#[repr(u32)]pub enum WindowType {
Rect = 0,
Triangle = 1,
Hamming = 2,
Hanning = 3,
Blackman = 4,
BlackmanHarris = 5,
}
Variants§
Trait Implementations§
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 From<WindowType> for u32
impl From<WindowType> for u32
Source§fn from(enum_value: WindowType) -> Self
fn from(enum_value: WindowType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WindowType
impl PartialEq for WindowType
Source§impl ReadableParameter for WindowType
impl ReadableParameter for WindowType
Source§fn get_parameter_string(dsp: Dsp, index: c_int) -> Result<Utf8CString>
fn get_parameter_string(dsp: Dsp, index: c_int) -> Result<Utf8CString>
Get the parameter string at
index
.Source§impl ReadableParameterIndex<WindowType> for Window
impl ReadableParameterIndex<WindowType> for Window
Source§impl TryFrom<u32> for WindowType
impl TryFrom<u32> for WindowType
Source§type Error = TryFromPrimitiveError<WindowType>
type Error = TryFromPrimitiveError<WindowType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for WindowType
impl TryFromPrimitive for WindowType
const NAME: &'static str = "WindowType"
type Primitive = u32
type Error = TryFromPrimitiveError<WindowType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Source§impl WritableParameter for WindowType
impl WritableParameter for WindowType
Source§impl WritableParameterIndex<WindowType> for Window
impl WritableParameterIndex<WindowType> for Window
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