pub enum RankAccuracy {
HighRank,
LowRank,
}Available on crate feature
req only.Expand description
Selects which tail of the rank domain the sketch optimizes for.
Variants§
HighRank
Optimize for accuracy at high ranks (near 1.0).
LowRank
Optimize for accuracy at low ranks (near 0.0).
Trait Implementations§
Source§impl Clone for RankAccuracy
impl Clone for RankAccuracy
Source§fn clone(&self) -> RankAccuracy
fn clone(&self) -> RankAccuracy
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 RankAccuracy
Source§impl Debug for RankAccuracy
impl Debug for RankAccuracy
Source§impl Default for RankAccuracy
impl Default for RankAccuracy
Source§fn default() -> RankAccuracy
fn default() -> RankAccuracy
Returns the “default value” for a type. Read more
impl Eq for RankAccuracy
Source§impl PartialEq for RankAccuracy
impl PartialEq for RankAccuracy
impl StructuralPartialEq for RankAccuracy
Auto Trait Implementations§
impl Freeze for RankAccuracy
impl RefUnwindSafe for RankAccuracy
impl Send for RankAccuracy
impl Sync for RankAccuracy
impl Unpin for RankAccuracy
impl UnsafeUnpin for RankAccuracy
impl UnwindSafe for RankAccuracy
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