pub enum SoundSettingsChromaticMode {
Off,
Synth,
Sample,
SynthAndSample,
}
Expand description
The chromatic mode of a sound.
Variants§
Trait Implementations§
source§impl Clone for SoundSettingsChromaticMode
impl Clone for SoundSettingsChromaticMode
source§fn clone(&self) -> SoundSettingsChromaticMode
fn clone(&self) -> SoundSettingsChromaticMode
Returns a copy 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 SoundSettingsChromaticMode
impl Debug for SoundSettingsChromaticMode
source§impl Default for SoundSettingsChromaticMode
impl Default for SoundSettingsChromaticMode
source§fn default() -> SoundSettingsChromaticMode
fn default() -> SoundSettingsChromaticMode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SoundSettingsChromaticMode
impl<'de> Deserialize<'de> for SoundSettingsChromaticMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<SoundSettingsChromaticMode> for &str
impl From<SoundSettingsChromaticMode> for &str
source§fn from(mode: SoundSettingsChromaticMode) -> Self
fn from(mode: SoundSettingsChromaticMode) -> Self
Converts to this type from the input type.
source§impl From<SoundSettingsChromaticMode> for u8
impl From<SoundSettingsChromaticMode> for u8
source§fn from(value: SoundSettingsChromaticMode) -> Self
fn from(value: SoundSettingsChromaticMode) -> Self
Converts to this type from the input type.
source§impl Hash for SoundSettingsChromaticMode
impl Hash for SoundSettingsChromaticMode
source§impl Ord for SoundSettingsChromaticMode
impl Ord for SoundSettingsChromaticMode
source§fn cmp(&self, other: &SoundSettingsChromaticMode) -> Ordering
fn cmp(&self, other: &SoundSettingsChromaticMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SoundSettingsChromaticMode
impl PartialEq for SoundSettingsChromaticMode
source§fn eq(&self, other: &SoundSettingsChromaticMode) -> bool
fn eq(&self, other: &SoundSettingsChromaticMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SoundSettingsChromaticMode
impl PartialOrd for SoundSettingsChromaticMode
source§fn partial_cmp(&self, other: &SoundSettingsChromaticMode) -> Option<Ordering>
fn partial_cmp(&self, other: &SoundSettingsChromaticMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<&str> for SoundSettingsChromaticMode
impl TryFrom<&str> for SoundSettingsChromaticMode
source§impl TryFrom<u8> for SoundSettingsChromaticMode
impl TryFrom<u8> for SoundSettingsChromaticMode
impl Copy for SoundSettingsChromaticMode
impl Eq for SoundSettingsChromaticMode
impl StructuralEq for SoundSettingsChromaticMode
impl StructuralPartialEq for SoundSettingsChromaticMode
Auto Trait Implementations§
impl RefUnwindSafe for SoundSettingsChromaticMode
impl Send for SoundSettingsChromaticMode
impl Sync for SoundSettingsChromaticMode
impl Unpin for SoundSettingsChromaticMode
impl UnwindSafe for SoundSettingsChromaticMode
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