pub struct RuleCatalogPackingScratch {
pub rule_meta: Vec<RuleMeta>,
pub transitions: Vec<u32>,
pub accept: Vec<u32>,
pub class_maps: Vec<u32>,
pub rejected_rules: Vec<BatchRuleRejection>,
/* private fields */
}Expand description
Caller-owned storage for packing rule catalogs without rebuilding host allocations on every refresh.
Fields§
§rule_meta: Vec<RuleMeta>Dense per-rule metadata table.
transitions: Vec<u32>Deduplicated flattened byte-class-COMPRESSED DFA transition storage.
accept: Vec<u32>Deduplicated flattened DFA accept storage.
class_maps: Vec<u32>Deduplicated flattened 256-entry-per-rule byte→class maps.
rejected_rules: Vec<BatchRuleRejection>Rules rejected during validation or dense-slot assignment.
Trait Implementations§
Source§impl Default for RuleCatalogPackingScratch
impl Default for RuleCatalogPackingScratch
Source§fn default() -> RuleCatalogPackingScratch
fn default() -> RuleCatalogPackingScratch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RuleCatalogPackingScratch
impl RefUnwindSafe for RuleCatalogPackingScratch
impl Send for RuleCatalogPackingScratch
impl Sync for RuleCatalogPackingScratch
impl Unpin for RuleCatalogPackingScratch
impl UnsafeUnpin for RuleCatalogPackingScratch
impl UnwindSafe for RuleCatalogPackingScratch
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