Enum git_perf::data::ReductionFunc
source · pub enum ReductionFunc {
Min,
Max,
Median,
Mean,
}
Variants§
Trait Implementations§
source§impl Clone for ReductionFunc
impl Clone for ReductionFunc
source§fn clone(&self) -> ReductionFunc
fn clone(&self) -> ReductionFunc
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 ReductionFunc
impl Debug for ReductionFunc
source§impl PartialEq for ReductionFunc
impl PartialEq for ReductionFunc
source§fn eq(&self, other: &ReductionFunc) -> bool
fn eq(&self, other: &ReductionFunc) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ValueEnum for ReductionFunc
impl ValueEnum for ReductionFunc
impl Copy for ReductionFunc
impl Eq for ReductionFunc
impl StructuralEq for ReductionFunc
impl StructuralPartialEq for ReductionFunc
Auto Trait Implementations§
impl RefUnwindSafe for ReductionFunc
impl Send for ReductionFunc
impl Sync for ReductionFunc
impl Unpin for ReductionFunc
impl UnwindSafe for ReductionFunc
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
§impl<S, T> Cast<T> for Swhere
T: Conv<S>,
impl<S, T> Cast<T> for Swhere
T: Conv<S>,
§impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
§fn cast_trunc(self) -> T
fn cast_trunc(self) -> T
Cast to integer, truncating Read more
§fn cast_nearest(self) -> T
fn cast_nearest(self) -> T
Cast to the nearest integer Read more
§fn cast_floor(self) -> T
fn cast_floor(self) -> T
Cast the floor to an integer Read more
§fn try_cast_trunc(self) -> Result<T, Error>
fn try_cast_trunc(self) -> Result<T, Error>
Try converting to integer with truncation Read more
§fn try_cast_nearest(self) -> Result<T, Error>
fn try_cast_nearest(self) -> Result<T, Error>
Try converting to the nearest integer Read more
§fn try_cast_floor(self) -> Result<T, Error>
fn try_cast_floor(self) -> Result<T, Error>
Try converting the floor to an integer Read more
§fn try_cast_ceil(self) -> Result<T, Error>
fn try_cast_ceil(self) -> Result<T, Error>
Try convert the ceiling to an integer Read more
§impl<T> Conv<T> for T
impl<T> Conv<T> for T
§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.