pub struct CompressedParams { /* private fields */ }
Expand description
CompactParams
contains 2 parameters determining how a CompressedHistogram
is stored and interpreted. See CompressedHistogram
for a full explanation.
§Example
To create your own parameters, use the constructor function
if let Some(cp) = new_compressed_params(2.0, 15) {
// do something...
} else { }
Implementations§
Trait Implementations§
Source§impl Clone for CompressedParams
impl Clone for CompressedParams
Source§fn clone(&self) -> CompressedParams
fn clone(&self) -> CompressedParams
Returns a copy 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 moreSource§impl Debug for CompressedParams
impl Debug for CompressedParams
Source§impl Histogram<CompressedParams, usize, usize> for CompressedHistogram
impl Histogram<CompressedParams, usize, usize> for CompressedHistogram
impl HistogramParams for CompressedParams
Auto Trait Implementations§
impl Freeze for CompressedParams
impl RefUnwindSafe for CompressedParams
impl Send for CompressedParams
impl Sync for CompressedParams
impl Unpin for CompressedParams
impl UnwindSafe for CompressedParams
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