pub enum VoiceLeadingMetric {
AbsoluteSemitones,
SquaredSemitones,
}Expand description
Norm used to score semitone motion.
Variants§
AbsoluteSemitones
Sum literal absolute semitone distances.
SquaredSemitones
Sum squared semitone distances, making large leaps disproportionately expensive.
Trait Implementations§
Source§impl Clone for VoiceLeadingMetric
impl Clone for VoiceLeadingMetric
Source§fn clone(&self) -> VoiceLeadingMetric
fn clone(&self) -> VoiceLeadingMetric
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 moreimpl Copy for VoiceLeadingMetric
Source§impl Debug for VoiceLeadingMetric
impl Debug for VoiceLeadingMetric
impl Eq for VoiceLeadingMetric
Source§impl PartialEq for VoiceLeadingMetric
impl PartialEq for VoiceLeadingMetric
impl StructuralPartialEq for VoiceLeadingMetric
Auto Trait Implementations§
impl Freeze for VoiceLeadingMetric
impl RefUnwindSafe for VoiceLeadingMetric
impl Send for VoiceLeadingMetric
impl Sync for VoiceLeadingMetric
impl Unpin for VoiceLeadingMetric
impl UnsafeUnpin for VoiceLeadingMetric
impl UnwindSafe for VoiceLeadingMetric
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