mirror of
https://github.com/TECHNOFAB11/tmux-copyrat.git
synced 2025-12-13 00:20:08 +01:00
11 lines
256 B
Rust
11 lines
256 B
Rust
|
|
/// Represents matched text, its location on screen, the pattern that created
|
||
|
|
/// it, and the associated hint.
|
||
|
|
#[derive(Debug)]
|
||
|
|
pub struct Match<'a> {
|
||
|
|
pub x: i32,
|
||
|
|
pub y: i32,
|
||
|
|
pub pattern: &'a str,
|
||
|
|
pub text: &'a str,
|
||
|
|
pub hint: String,
|
||
|
|
}
|