pub struct LensReport {
pub length_bits: usize,
pub coverage: Vec<LensCoverage>,
pub best_lens: &'static str,
pub best_description_bits: usize,
pub covered: bool,
}Expand description
The result of running the whole lens portfolio against a bit sequence.
Fields§
§length_bits: usize§coverage: Vec<LensCoverage>Every lens’s description-length verdict (the covering menu, laid out).
best_lens: &'static strThe lens achieving the shortest description — the one that “covers” the sequence.
best_description_bits: usize§covered: boolWhether the best lens compresses by at least 2× — i.e. the sequence is genuinely covered, not in the incompressible residue.
Trait Implementations§
Source§impl Clone for LensReport
impl Clone for LensReport
Source§fn clone(&self) -> LensReport
fn clone(&self) -> LensReport
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 moreAuto Trait Implementations§
impl Freeze for LensReport
impl RefUnwindSafe for LensReport
impl Send for LensReport
impl Sync for LensReport
impl Unpin for LensReport
impl UnsafeUnpin for LensReport
impl UnwindSafe for LensReport
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