summaryrefslogtreecommitdiffstats
path: root/src/core/src/components/search_bar/options.rs
blob: 348d81c5a1cf33f50476bee33aca4819acb2d30d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use input::Event;

pub struct Options {
	pub(crate) next_result_event: Vec<Event>,
	pub(crate) previous_result_event: Vec<Event>,
}

impl Options {
	pub fn new(next_result_event: Vec<Event>, previous_result_event: Vec<Event>) -> Self {
		Self {
			next_result_event,
			previous_result_event,
		}
	}
}