pub struct CaptureHistogram {
pub edges: Vec<f32>,
pub counts: Vec<u64>,
pub below: u64,
pub above: u64,
pub non_finite: u64,
}Expand description
Bounded finite-value histogram with explicit excluded-value counts.
Fields§
§edges: Vec<f32>Finite, strictly increasing bin edges.
counts: Vec<u64>Counts for adjacent edge pairs; the last interval includes its upper endpoint.
below: u64Finite values strictly below the first edge.
above: u64Finite values strictly above the last edge.
non_finite: u64NaNs and infinities excluded from bins and finite under/overflow counts.
Trait Implementations§
Source§impl Clone for CaptureHistogram
impl Clone for CaptureHistogram
Source§fn clone(&self) -> CaptureHistogram
fn clone(&self) -> CaptureHistogram
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 CaptureHistogram
impl Debug for CaptureHistogram
Source§impl<'de> Deserialize<'de> for CaptureHistogram
impl<'de> Deserialize<'de> for CaptureHistogram
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CaptureHistogram
impl PartialEq for CaptureHistogram
Source§impl Serialize for CaptureHistogram
impl Serialize for CaptureHistogram
impl StructuralPartialEq for CaptureHistogram
Auto Trait Implementations§
impl Freeze for CaptureHistogram
impl RefUnwindSafe for CaptureHistogram
impl Send for CaptureHistogram
impl Sync for CaptureHistogram
impl Unpin for CaptureHistogram
impl UnsafeUnpin for CaptureHistogram
impl UnwindSafe for CaptureHistogram
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