pub enum TuningSystem {
EqualTemperament,
JustIntonation,
Pythagorean,
Meantone,
WellTemperament,
Microtonal,
Custom,
}Variants§
Implementations§
Source§impl TuningSystem
impl TuningSystem
Trait Implementations§
Source§impl Clone for TuningSystem
impl Clone for TuningSystem
Source§fn clone(&self) -> TuningSystem
fn clone(&self) -> TuningSystem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TuningSystem
impl Debug for TuningSystem
Source§impl Display for TuningSystem
impl Display for TuningSystem
Source§impl FromStr for TuningSystem
impl FromStr for TuningSystem
Source§type Err = TuningError
type Err = TuningError
The associated error which can be returned from parsing.
Source§fn from_str(value: &str) -> Result<TuningSystem, <TuningSystem as FromStr>::Err>
fn from_str(value: &str) -> Result<TuningSystem, <TuningSystem as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for TuningSystem
impl Hash for TuningSystem
Source§impl Ord for TuningSystem
impl Ord for TuningSystem
Source§fn cmp(&self, other: &TuningSystem) -> Ordering
fn cmp(&self, other: &TuningSystem) -> Ordering
1.21.0 (const: unstable) · 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 TuningSystem
impl PartialEq for TuningSystem
Source§fn eq(&self, other: &TuningSystem) -> bool
fn eq(&self, other: &TuningSystem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TuningSystem
impl PartialOrd for TuningSystem
impl Copy for TuningSystem
impl Eq for TuningSystem
impl StructuralPartialEq for TuningSystem
Auto Trait Implementations§
impl Freeze for TuningSystem
impl RefUnwindSafe for TuningSystem
impl Send for TuningSystem
impl Sync for TuningSystem
impl Unpin for TuningSystem
impl UnsafeUnpin for TuningSystem
impl UnwindSafe for TuningSystem
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