pub struct ZeroInflatedSample {
pub value: f64,
pub is_structural_zero: bool,
}Expand description
Result of sampling with structural zero information.
Fields§
§value: f64The sampled value
is_structural_zero: boolWhether this is a structural zero (vs. a sampling zero)
Trait Implementations§
Source§impl Clone for ZeroInflatedSample
impl Clone for ZeroInflatedSample
Source§fn clone(&self) -> ZeroInflatedSample
fn clone(&self) -> ZeroInflatedSample
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ZeroInflatedSample
impl RefUnwindSafe for ZeroInflatedSample
impl Send for ZeroInflatedSample
impl Sync for ZeroInflatedSample
impl Unpin for ZeroInflatedSample
impl UnwindSafe for ZeroInflatedSample
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