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

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

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