pub enum Event {
ChangeDirectory(PathBuf),
ChangeSelection(Vec<PathBuf>),
Click(Click, Vec<PathBuf>),
DoubleClick(DoubleClick, Vec<PathBuf>),
Press(Press, Vec<PathBuf>),
Release(Release, Vec<PathBuf>),
}Expand description
The kinds of events that the FileNavigator may produce.
Variants§
ChangeDirectory(PathBuf)
The directory at the top of the stack has changed.
ChangeSelection(Vec<PathBuf>)
The selection of files in the top of the stack has changed.
Click(Click, Vec<PathBuf>)
A Click event occurred over a selection of entries.
DoubleClick(DoubleClick, Vec<PathBuf>)
A file was double clicked.
Press(Press, Vec<PathBuf>)
A Press event occurred over a selection of entries.
Release(Release, Vec<PathBuf>)
A Release event occurred over a selection of entries.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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