pub struct ScaleEstimate {
pub tonic_pc: u8,
pub scale: ScaleProposal,
pub score: f32,
}Expand description
A scale proposal with its supporting tonic and coverage score.
Fields§
§tonic_pc: u8Best-fitting tonic (0 = C … 11 = B); meaningless when scale == Unknown.
scale: ScaleProposal§score: f32Fraction [0,1] of HPCP energy captured by the winning diatonic set.
Trait Implementations§
Source§impl Clone for ScaleEstimate
impl Clone for ScaleEstimate
impl Copy for ScaleEstimate
Source§impl Debug for ScaleEstimate
impl Debug for ScaleEstimate
Source§impl PartialEq for ScaleEstimate
impl PartialEq for ScaleEstimate
impl StructuralPartialEq for ScaleEstimate
Auto Trait Implementations§
impl Freeze for ScaleEstimate
impl RefUnwindSafe for ScaleEstimate
impl Send for ScaleEstimate
impl Sync for ScaleEstimate
impl Unpin for ScaleEstimate
impl UnsafeUnpin for ScaleEstimate
impl UnwindSafe for ScaleEstimate
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