Struct broot::app::Selection [−][src]
pub struct Selection<'s> {
pub path: &'s Path,
pub line: LineNumber,
pub stype: SelectionType,
pub is_exe: bool,
}
Expand description
light information about the currently selected file and maybe line number
Fields
path: &'s Path
line: LineNumber
stype: SelectionType
is_exe: bool
Implementations
build a CmdResult with a launchable which will be used to 1/ quit broot 2/ open the relevant file the best possible way
Trait Implementations
Auto Trait Implementations
impl<'s> RefUnwindSafe for Selection<'s>
impl<'s> UnwindSafe for Selection<'s>
Blanket Implementations
Mutably borrows from an owned value. Read more