pub enum CompressibilityClass {
Generated,
Periodic,
LowEntropy,
Smooth,
Incompressible,
}Expand description
The compressibility class of an input, read off the winning description-menu generator.
Variants§
Generated
A closed-form program reproduces it (affine / geometric / polynomial / general generator) — algorithmically simplest: K̄ = O(1) regardless of length.
Periodic
A repeating block (cyclic / periodic).
LowEntropy
Low per-symbol entropy: a dominant value, long runs, or a tiny alphabet (sparse / RLE / dict).
Smooth
Smoothly varying: small successive differences or a narrow value range (delta / DoD / frame-of-reference).
Incompressible
Incompressible: nothing beats storing it raw — algorithmically random relative to this class.
Trait Implementations§
Source§impl Clone for CompressibilityClass
impl Clone for CompressibilityClass
Source§fn clone(&self) -> CompressibilityClass
fn clone(&self) -> CompressibilityClass
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 moreSource§impl Debug for CompressibilityClass
impl Debug for CompressibilityClass
Source§impl PartialEq for CompressibilityClass
impl PartialEq for CompressibilityClass
Source§fn eq(&self, other: &CompressibilityClass) -> bool
fn eq(&self, other: &CompressibilityClass) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CompressibilityClass
impl Eq for CompressibilityClass
impl StructuralPartialEq for CompressibilityClass
Auto Trait Implementations§
impl Freeze for CompressibilityClass
impl RefUnwindSafe for CompressibilityClass
impl Send for CompressibilityClass
impl Sync for CompressibilityClass
impl Unpin for CompressibilityClass
impl UnsafeUnpin for CompressibilityClass
impl UnwindSafe for CompressibilityClass
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