#[non_exhaustive]pub struct TestResult {
pub statistic: f64,
pub p_value: f64,
pub degrees_of_freedom: f64,
}Expand description
A test statistic with its p-value.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.statistic: f64§p_value: f64§degrees_of_freedom: f64Degrees of freedom of the reference distribution (NaN where not applicable).
Implementations§
Source§impl TestResult
impl TestResult
Trait Implementations§
Source§impl Clone for TestResult
impl Clone for TestResult
impl Copy for TestResult
Source§impl Debug for TestResult
impl Debug for TestResult
Source§impl PartialEq for TestResult
impl PartialEq for TestResult
impl StructuralPartialEq for TestResult
Auto Trait Implementations§
impl Freeze for TestResult
impl RefUnwindSafe for TestResult
impl Send for TestResult
impl Sync for TestResult
impl Unpin for TestResult
impl UnsafeUnpin for TestResult
impl UnwindSafe for TestResult
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