pub enum DecodeStep {
Range(RangeInclusive<u8>, i16),
Eq(u8, i16),
}Expand description
Constant-time decoder step.
Variants§
Range(RangeInclusive<u8>, i16)
Match the given range, offsetting the input on match.
Eq(u8, i16)
Match the given value, returning the associated offset on match.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DecodeStep
impl RefUnwindSafe for DecodeStep
impl Send for DecodeStep
impl Sync for DecodeStep
impl Unpin for DecodeStep
impl UnwindSafe for DecodeStep
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