pub struct Run {
pub len: u8,
pub capped: bool,
pub after: Option<u8>,
}Expand description
A maximal run of one RunClass starting at a candidate position.
Fields§
§len: u8Length of the run, at most RUN_CAP.
capped: boolWhether the run reached RUN_CAP and may continue.
after: Option<u8>The byte after the run, None at the end of the input.
Trait Implementations§
impl Copy for Run
impl Eq for Run
impl StructuralPartialEq for Run
Auto Trait Implementations§
impl Freeze for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnsafeUnpin for Run
impl UnwindSafe for Run
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