pub struct SerialStableRank {
pub omissions: usize,
pub duplicates_before_completion: usize,
pub order_errors: usize,
pub occupied_span: Time,
pub stable_key: String,
}Expand description
Stable sort key used when ranking extraction hypotheses.
Fields§
§omissions: usizeCount of missing pitch classes from a complete twelve-tone aggregate.
duplicates_before_completion: usizeCount of repeated pitch classes observed before aggregate completion.
order_errors: usizeCount of repeated pitch classes observed after aggregate completion.
occupied_span: TimeExact span from the first contributing attack to the last contributing release.
stable_key: StringStable tie-breaker derived from the chosen attack ordering.
Trait Implementations§
Source§impl Clone for SerialStableRank
impl Clone for SerialStableRank
Source§fn clone(&self) -> SerialStableRank
fn clone(&self) -> SerialStableRank
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 SerialStableRank
impl Debug for SerialStableRank
impl Eq for SerialStableRank
Source§impl Ord for SerialStableRank
impl Ord for SerialStableRank
Source§fn cmp(&self, other: &SerialStableRank) -> Ordering
fn cmp(&self, other: &SerialStableRank) -> 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 SerialStableRank
impl PartialEq for SerialStableRank
Source§impl PartialOrd for SerialStableRank
impl PartialOrd for SerialStableRank
impl StructuralPartialEq for SerialStableRank
Auto Trait Implementations§
impl Freeze for SerialStableRank
impl RefUnwindSafe for SerialStableRank
impl Send for SerialStableRank
impl Sync for SerialStableRank
impl Unpin for SerialStableRank
impl UnsafeUnpin for SerialStableRank
impl UnwindSafe for SerialStableRank
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