Struct skim::SkimOutput[][src]

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: Event

The 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: bool

quick pass for judging if skim aborts.

final_key: Key

The final key that makes skim accept/quit. Note that it might be Key::Null if it is triggered by skim.

query: String

The query

cmd: String

The command query

selected_items: Vec<Arc<dyn SkimItem>>

The selected items.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsAny for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.