Enum TuningSystem
pub enum TuningSystem {
EqualTemperament,
JustIntonation,
Pythagorean,
Meantone,
WellTemperament,
Microtonal,
Custom,
}Variants§
Implementations§
§impl TuningSystem
impl TuningSystem
pub const ALL: &'static [TuningSystem]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for TuningSystem
impl Clone for TuningSystem
§fn clone(&self) -> TuningSystem
fn clone(&self) -> TuningSystem
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 more§impl Debug for TuningSystem
impl Debug for TuningSystem
§impl Display for TuningSystem
impl Display for TuningSystem
§impl FromStr for TuningSystem
impl FromStr for TuningSystem
§type Err = TuningError
type Err = TuningError
The associated error which can be returned from parsing.
§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 more§impl Hash for TuningSystem
impl Hash for TuningSystem
§impl Ord for TuningSystem
impl Ord for TuningSystem
§impl PartialEq for TuningSystem
impl PartialEq for TuningSystem
§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