#[non_exhaustive]pub enum DfaPackFormat {
Dense,
EquivClass,
}Expand description
Packing format selector for super::dfa_pack::dfa_pack.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Dense
Dense row-major: fastest scan, largest memory. 256 × 4 bytes per state.
EquivClass
Byte equivalence-class compression: smallest when effective alphabet
is narrow. Emits a 256-entry class table + state × num_classes.
Trait Implementations§
Source§impl Clone for DfaPackFormat
impl Clone for DfaPackFormat
Source§fn clone(&self) -> DfaPackFormat
fn clone(&self) -> DfaPackFormat
Returns a duplicate of the value. Read more
1.0.0 · 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 DfaPackFormat
impl Debug for DfaPackFormat
Source§impl PartialEq for DfaPackFormat
impl PartialEq for DfaPackFormat
impl Copy for DfaPackFormat
impl Eq for DfaPackFormat
impl StructuralPartialEq for DfaPackFormat
Auto Trait Implementations§
impl Freeze for DfaPackFormat
impl RefUnwindSafe for DfaPackFormat
impl Send for DfaPackFormat
impl Sync for DfaPackFormat
impl Unpin for DfaPackFormat
impl UnsafeUnpin for DfaPackFormat
impl UnwindSafe for DfaPackFormat
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