pub enum IntegerPattern {
Constant,
RegularInterval,
NarrowRange,
Irregular,
}Expand description
Result of analyzing an integer sample.
Variants§
Constant
All values identical.
RegularInterval
Regular intervals — ideal for delta-of-delta.
NarrowRange
Values cluster in a narrow range — ideal for FOR encoding.
Irregular
Irregular — delta with zigzag.
Trait Implementations§
Source§impl Clone for IntegerPattern
impl Clone for IntegerPattern
Source§fn clone(&self) -> IntegerPattern
fn clone(&self) -> IntegerPattern
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 IntegerPattern
Source§impl Debug for IntegerPattern
impl Debug for IntegerPattern
impl Eq for IntegerPattern
Source§impl PartialEq for IntegerPattern
impl PartialEq for IntegerPattern
impl StructuralPartialEq for IntegerPattern
Auto Trait Implementations§
impl Freeze for IntegerPattern
impl RefUnwindSafe for IntegerPattern
impl Send for IntegerPattern
impl Sync for IntegerPattern
impl Unpin for IntegerPattern
impl UnsafeUnpin for IntegerPattern
impl UnwindSafe for IntegerPattern
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