pub enum MapWitness {
Direct {
source_class: u16,
target_value: i64,
},
Unmapped {
source_class: u16,
},
Nudged {
source_class: u16,
chosen_class: u16,
target_value: i64,
policy: PitchMapPolicy,
},
}Expand description
Witness explaining how the internal pitch map handled one input pitch.
Variants§
Direct
The source class had a direct image.
Unmapped
The map left an unmapped source unchanged.
Nudged
The map used an explicit policy to choose a mapped source class.
Trait Implementations§
Source§impl Clone for MapWitness
impl Clone for MapWitness
Source§fn clone(&self) -> MapWitness
fn clone(&self) -> MapWitness
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 MapWitness
impl Debug for MapWitness
impl Eq for MapWitness
Source§impl PartialEq for MapWitness
impl PartialEq for MapWitness
impl StructuralPartialEq for MapWitness
Auto Trait Implementations§
impl Freeze for MapWitness
impl RefUnwindSafe for MapWitness
impl Send for MapWitness
impl Sync for MapWitness
impl Unpin for MapWitness
impl UnsafeUnpin for MapWitness
impl UnwindSafe for MapWitness
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