#[repr(u8)]pub enum CandidateKind {
Raw = 0,
Rle = 1,
ByteRans = 2,
PdfPhysical = 3,
PdfChannels = 4,
}Expand description
Stable candidate identity. The discriminant order is the final deterministic tie-breaker when prices and work are equal.
Variants§
Raw = 0
Single literal object, literal program (Phase 1 floor).
Rle = 1
Run-length generated repeats (Phase 2).
ByteRans = 2
Typed byte rANS entropy channel (Phase 2).
PdfPhysical = 3
PDF physical span partition as literal-span DRA ops (Phase 3).
PdfChannels = 4
PDF typed lexical channels, each entropy-coded (Phase 4).
Implementations§
Trait Implementations§
Source§impl Clone for CandidateKind
impl Clone for CandidateKind
impl Copy for CandidateKind
Source§impl Debug for CandidateKind
impl Debug for CandidateKind
impl Eq for CandidateKind
Source§impl Ord for CandidateKind
impl Ord for CandidateKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CandidateKind
impl PartialEq for CandidateKind
Source§impl PartialOrd for CandidateKind
impl PartialOrd for CandidateKind
impl StructuralPartialEq for CandidateKind
Auto Trait Implementations§
impl Freeze for CandidateKind
impl RefUnwindSafe for CandidateKind
impl Send for CandidateKind
impl Sync for CandidateKind
impl Unpin for CandidateKind
impl UnsafeUnpin for CandidateKind
impl UnwindSafe for CandidateKind
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