pub enum Repeat {
Times(usize),
UntilEnd,
}Variants§
Times(usize)
UntilEnd
Until an action fails (typically a Find with no more matches), a run starts and ends with the primary caret at the end of the document (so a “process this line, move down” macro handles the last line once), or a run changes nothing.
Trait Implementations§
impl Copy for Repeat
impl Eq for Repeat
impl StructuralPartialEq for Repeat
Auto Trait Implementations§
impl Freeze for Repeat
impl RefUnwindSafe for Repeat
impl Send for Repeat
impl Sync for Repeat
impl Unpin for Repeat
impl UnsafeUnpin for Repeat
impl UnwindSafe for Repeat
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