#[non_exhaustive]pub enum HistogramScale {
Linear,
Logarithmic,
}Expand description
How a Histogram turns counts into heights.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Linear
Height follows the count.
Logarithmic
Height follows the logarithm of the count, which brings small hills into view next to a tall peak.
Trait Implementations§
Source§impl Clone for HistogramScale
impl Clone for HistogramScale
Source§fn clone(&self) -> HistogramScale
fn clone(&self) -> HistogramScale
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 Copy for HistogramScale
Source§impl Debug for HistogramScale
impl Debug for HistogramScale
Source§impl Default for HistogramScale
impl Default for HistogramScale
Source§fn default() -> HistogramScale
fn default() -> HistogramScale
Returns the “default value” for a type. Read more
impl Eq for HistogramScale
Source§impl PartialEq for HistogramScale
impl PartialEq for HistogramScale
impl StructuralPartialEq for HistogramScale
Auto Trait Implementations§
impl Freeze for HistogramScale
impl RefUnwindSafe for HistogramScale
impl Send for HistogramScale
impl Sync for HistogramScale
impl Unpin for HistogramScale
impl UnsafeUnpin for HistogramScale
impl UnwindSafe for HistogramScale
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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
impl<T> Brush for T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.