pub enum Dispatch {
JumpTable,
FnPtrLut,
FlatLut,
FlatMatch,
}Expand description
Dispatch strategy for code generation.
Variants§
JumpTable
#[inline(always)] match statement.
FnPtrLut
Static function pointer lookup table per decision-tree branch.
FlatLut
Full-width function-pointer table indexed by raw decoder value.
FlatMatch
Full-width match with adjacent equal handlers compressed into ranges.
Trait Implementations§
impl Copy for Dispatch
impl Eq for Dispatch
impl StructuralPartialEq for Dispatch
Auto Trait Implementations§
impl Freeze for Dispatch
impl RefUnwindSafe for Dispatch
impl Send for Dispatch
impl Sync for Dispatch
impl Unpin for Dispatch
impl UnsafeUnpin for Dispatch
impl UnwindSafe for Dispatch
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