pub struct LocalKeyEstimate {
pub measure: usize,
pub window_start: usize,
pub window_end_exclusive: usize,
pub key: KeySignature,
pub profile_correlation: f64,
pub rule_id: String,
}Expand description
Opt-in local key estimate for one physical measure and a centered measure window.
Fields§
§measure: usize§window_start: usize§window_end_exclusive: usize§key: KeySignature§profile_correlation: f64Pearson correlation with the duration-weighted pitch-class profile, not a probability.
rule_id: StringTrait Implementations§
Source§impl Clone for LocalKeyEstimate
impl Clone for LocalKeyEstimate
Source§impl Debug for LocalKeyEstimate
impl Debug for LocalKeyEstimate
Source§impl<'de> Deserialize<'de> for LocalKeyEstimate
impl<'de> Deserialize<'de> for LocalKeyEstimate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LocalKeyEstimate
impl PartialEq for LocalKeyEstimate
Source§impl Serialize for LocalKeyEstimate
impl Serialize for LocalKeyEstimate
impl StructuralPartialEq for LocalKeyEstimate
Auto Trait Implementations§
impl Forget for LocalKeyEstimate
impl Freeze for LocalKeyEstimate
impl Move for LocalKeyEstimate
impl RefUnwindSafe for LocalKeyEstimate
impl Send for LocalKeyEstimate
impl Sync for LocalKeyEstimate
impl Unpin for LocalKeyEstimate
impl UnsafeUnpin for LocalKeyEstimate
impl UnwindSafe for LocalKeyEstimate
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