pub struct Hit {
pub row: usize,
pub wrapped: bool,
}Expand description
Where a search landed.
Fields§
§row: usize§wrapped: boolThe search ran off the end and resumed from the other one. Reported rather than silent: vim says “search hit BOTTOM, continuing at TOP”, and without it a wrap looks like the cursor jumped at random.
Trait Implementations§
impl Copy for Hit
impl Eq for Hit
impl StructuralPartialEq for Hit
Auto Trait Implementations§
impl Freeze for Hit
impl RefUnwindSafe for Hit
impl Send for Hit
impl Sync for Hit
impl Unpin for Hit
impl UnsafeUnpin for Hit
impl UnwindSafe for Hit
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