Enum TemperamentKind
pub enum TemperamentKind {
TwelveToneEqualTemperament,
NineteenToneEqualTemperament,
TwentyFourToneEqualTemperament,
Just,
Pythagorean,
QuarterCommaMeantone,
Werckmeister,
Kirnberger,
Custom,
}Variants§
TwelveToneEqualTemperament
NineteenToneEqualTemperament
TwentyFourToneEqualTemperament
Just
Pythagorean
QuarterCommaMeantone
Werckmeister
Kirnberger
Custom
Implementations§
§impl TemperamentKind
impl TemperamentKind
pub const ALL: &'static [TemperamentKind]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for TemperamentKind
impl Clone for TemperamentKind
§fn clone(&self) -> TemperamentKind
fn clone(&self) -> TemperamentKind
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 TemperamentKind
impl Debug for TemperamentKind
§impl Display for TemperamentKind
impl Display for TemperamentKind
§impl FromStr for TemperamentKind
impl FromStr for TemperamentKind
§type Err = TuningError
type Err = TuningError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<TemperamentKind, <TemperamentKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<TemperamentKind, <TemperamentKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for TemperamentKind
impl Hash for TemperamentKind
§impl Ord for TemperamentKind
impl Ord for TemperamentKind
§impl PartialEq for TemperamentKind
impl PartialEq for TemperamentKind
§impl PartialOrd for TemperamentKind
impl PartialOrd for TemperamentKind
impl Copy for TemperamentKind
impl Eq for TemperamentKind
impl StructuralPartialEq for TemperamentKind
Auto Trait Implementations§
impl Freeze for TemperamentKind
impl RefUnwindSafe for TemperamentKind
impl Send for TemperamentKind
impl Sync for TemperamentKind
impl Unpin for TemperamentKind
impl UnsafeUnpin for TemperamentKind
impl UnwindSafe for TemperamentKind
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