pub enum HybWidthStrategy {
Fixed(usize),
Mean,
MeanPlusStddev(f64),
Median,
Percentile(f64),
Max,
}Expand description
Strategy for determining ELL width in HYB format.
Variants§
Fixed(usize)
Fixed ELL width.
Mean
Use mean row length.
MeanPlusStddev(f64)
Use mean + k*stddev row length.
Median
Use median row length.
Percentile(f64)
Use a specific percentile of row lengths (0.0 to 1.0).
Max
Maximum row length (equivalent to pure ELL).
Trait Implementations§
Source§impl Clone for HybWidthStrategy
impl Clone for HybWidthStrategy
Source§fn clone(&self) -> HybWidthStrategy
fn clone(&self) -> HybWidthStrategy
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 HybWidthStrategy
Source§impl Debug for HybWidthStrategy
impl Debug for HybWidthStrategy
Source§impl Default for HybWidthStrategy
impl Default for HybWidthStrategy
Source§impl PartialEq for HybWidthStrategy
impl PartialEq for HybWidthStrategy
impl StructuralPartialEq for HybWidthStrategy
Auto Trait Implementations§
impl Freeze for HybWidthStrategy
impl RefUnwindSafe for HybWidthStrategy
impl Send for HybWidthStrategy
impl Sync for HybWidthStrategy
impl Unpin for HybWidthStrategy
impl UnsafeUnpin for HybWidthStrategy
impl UnwindSafe for HybWidthStrategy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more