pub enum TemperamentKind {
TwelveToneEqualTemperament,
NineteenToneEqualTemperament,
TwentyFourToneEqualTemperament,
Just,
Pythagorean,
QuarterCommaMeantone,
Werckmeister,
Kirnberger,
Custom,
}Variants§
TwelveToneEqualTemperament
NineteenToneEqualTemperament
TwentyFourToneEqualTemperament
Just
Pythagorean
QuarterCommaMeantone
Werckmeister
Kirnberger
Custom
Implementations§
Trait Implementations§
Source§impl Clone for TemperamentKind
impl Clone for TemperamentKind
Source§fn clone(&self) -> TemperamentKind
fn clone(&self) -> TemperamentKind
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 TemperamentKind
impl Debug for TemperamentKind
Source§impl Display for TemperamentKind
impl Display for TemperamentKind
Source§impl FromStr for TemperamentKind
impl FromStr for TemperamentKind
Source§impl Hash for TemperamentKind
impl Hash for TemperamentKind
Source§impl Ord for TemperamentKind
impl Ord for TemperamentKind
Source§fn cmp(&self, other: &TemperamentKind) -> Ordering
fn cmp(&self, other: &TemperamentKind) -> 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 TemperamentKind
impl PartialEq for TemperamentKind
Source§fn eq(&self, other: &TemperamentKind) -> bool
fn eq(&self, other: &TemperamentKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§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