Struct skim::SkimOutput
source · pub struct SkimOutput {
pub final_event: Event,
pub is_abort: bool,
pub final_key: Key,
pub query: String,
pub cmd: String,
pub selected_items: Vec<Arc<dyn SkimItem>>,
}Fields§
§final_event: EventThe final event that makes skim accept/quit.
Was designed to determine if skim quit or accept.
Typically there are only two options: Event::EvActAbort | Event::EvActAccept
is_abort: boolquick pass for judging if skim aborts.
final_key: KeyThe final key that makes skim accept/quit. Note that it might be Key::Null if it is triggered by skim.
query: StringThe query
cmd: StringThe command query
selected_items: Vec<Arc<dyn SkimItem>>The selected items.
Auto Trait Implementations§
impl !RefUnwindSafe for SkimOutput
impl Send for SkimOutput
impl Sync for SkimOutput
impl Unpin for SkimOutput
impl !UnwindSafe for SkimOutput
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