pub struct NativeHistogramBuckets<'a> {
pub spans: &'a [(i32, u32)],
pub deltas: &'a [i64],
}Expand description
Sparse bucket span and delta encoding for one side of a native histogram.
Fields§
§spans: &'a [(i32, u32)]Bucket spans.
deltas: &'a [i64]Bucket count deltas.
Trait Implementations§
Source§impl<'a> Clone for NativeHistogramBuckets<'a>
impl<'a> Clone for NativeHistogramBuckets<'a>
Source§fn clone(&self) -> NativeHistogramBuckets<'a>
fn clone(&self) -> NativeHistogramBuckets<'a>
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 moreimpl<'a> Copy for NativeHistogramBuckets<'a>
Auto Trait Implementations§
impl<'a> Freeze for NativeHistogramBuckets<'a>
impl<'a> RefUnwindSafe for NativeHistogramBuckets<'a>
impl<'a> Send for NativeHistogramBuckets<'a>
impl<'a> Sync for NativeHistogramBuckets<'a>
impl<'a> Unpin for NativeHistogramBuckets<'a>
impl<'a> UnsafeUnpin for NativeHistogramBuckets<'a>
impl<'a> UnwindSafe for NativeHistogramBuckets<'a>
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