pub struct LensCoverage {
pub lens: &'static str,
pub description_bits: usize,
}Expand description
One lens’s verdict on a sequence: the number of bits it needs to DESCRIBE the sequence (usize::MAX
if the lens finds no exploitable structure). Lower ⇒ the lens compresses it more.
Fields§
§lens: &'static str§description_bits: usizeTrait Implementations§
Source§impl Clone for LensCoverage
impl Clone for LensCoverage
Source§fn clone(&self) -> LensCoverage
fn clone(&self) -> LensCoverage
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 LensCoverage
impl Debug for LensCoverage
Source§impl PartialEq for LensCoverage
impl PartialEq for LensCoverage
Source§fn eq(&self, other: &LensCoverage) -> bool
fn eq(&self, other: &LensCoverage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LensCoverage
impl StructuralPartialEq for LensCoverage
Auto Trait Implementations§
impl Freeze for LensCoverage
impl RefUnwindSafe for LensCoverage
impl Send for LensCoverage
impl Sync for LensCoverage
impl Unpin for LensCoverage
impl UnsafeUnpin for LensCoverage
impl UnwindSafe for LensCoverage
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