pub struct StatsClaimEvidence { /* private fields */ }Expand description
Evidence carried by a descriptive statistics Claim.
Implementations§
Source§impl StatsClaimEvidence
impl StatsClaimEvidence
Sourcepub fn new(metric: Symbol, inputs: Vec<f64>, value: f64) -> Self
pub fn new(metric: Symbol, inputs: Vec<f64>, value: f64) -> Self
Creates descriptive metric evidence from validated inputs and a result.
Sourcepub fn inputs(&self) -> &[f64]
pub fn inputs(&self) -> &[f64]
Returns the input samples or probabilities used to compute the metric.
Sourcepub fn table_value(&self, factory: &dyn Factory) -> Result<Value>
pub fn table_value(&self, factory: &dyn Factory) -> Result<Value>
Returns the evidence as a browsable runtime table.
Trait Implementations§
Source§impl Clone for StatsClaimEvidence
impl Clone for StatsClaimEvidence
Source§fn clone(&self) -> StatsClaimEvidence
fn clone(&self) -> StatsClaimEvidence
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 StatsClaimEvidence
impl Debug for StatsClaimEvidence
Source§impl PartialEq for StatsClaimEvidence
impl PartialEq for StatsClaimEvidence
impl StructuralPartialEq for StatsClaimEvidence
Auto Trait Implementations§
impl Freeze for StatsClaimEvidence
impl RefUnwindSafe for StatsClaimEvidence
impl Send for StatsClaimEvidence
impl Sync for StatsClaimEvidence
impl Unpin for StatsClaimEvidence
impl UnsafeUnpin for StatsClaimEvidence
impl UnwindSafe for StatsClaimEvidence
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