pub struct ReferentialRatioSummary {
pub policy: RatioPolicy,
pub admitted_tones: usize,
pub rejected_tones: usize,
pub cost: f64,
}Expand description
Exact ratio/sonance summary attached to one claim.
Fields§
§policy: RatioPolicyPolicy used to admit and normalize ratios.
admitted_tones: usizeNumber of admitted tones.
rejected_tones: usizeNumber of rejected tones.
cost: f64Generalized-mean complexity cost.
Trait Implementations§
Source§impl Clone for ReferentialRatioSummary
impl Clone for ReferentialRatioSummary
Source§fn clone(&self) -> ReferentialRatioSummary
fn clone(&self) -> ReferentialRatioSummary
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 ReferentialRatioSummary
impl Debug for ReferentialRatioSummary
Source§impl PartialEq for ReferentialRatioSummary
impl PartialEq for ReferentialRatioSummary
impl StructuralPartialEq for ReferentialRatioSummary
Auto Trait Implementations§
impl Freeze for ReferentialRatioSummary
impl RefUnwindSafe for ReferentialRatioSummary
impl Send for ReferentialRatioSummary
impl Sync for ReferentialRatioSummary
impl Unpin for ReferentialRatioSummary
impl UnsafeUnpin for ReferentialRatioSummary
impl UnwindSafe for ReferentialRatioSummary
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