pub enum PitchUnit {
Hz,
Midi,
Cent,
Bin,
}
Expand description
Pitch output unit
Variants§
Trait Implementations§
Source§impl AsNativeStr for PitchUnit
impl AsNativeStr for PitchUnit
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
impl Copy for PitchUnit
impl Eq for PitchUnit
impl StructuralPartialEq for PitchUnit
Auto Trait Implementations§
impl Freeze for PitchUnit
impl RefUnwindSafe for PitchUnit
impl Send for PitchUnit
impl Sync for PitchUnit
impl Unpin for PitchUnit
impl UnwindSafe for PitchUnit
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