pub struct RunRule {
pub value: Option<u8>,
pub min_run: Option<usize>,
}Fields§
§value: Option<u8>Some(v) matches a run of value v; None is the catch-all
(any repeated byte), evaluated only after all Some rules.
min_run: Option<usize>Minimum run length before this rule fires; shorter runs stay inline.
None means always literal.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunRule
impl RefUnwindSafe for RunRule
impl Send for RunRule
impl Sync for RunRule
impl Unpin for RunRule
impl UnsafeUnpin for RunRule
impl UnwindSafe for RunRule
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