pub enum Source {
Buffers,
Commands,
Help,
Grep,
Files,
Project,
}Expand description
Which source a picker is showing. Used for its title, and to keep the operator oriented about what they are picking FROM.
Variants§
Buffers
Commands
Help
Every binding: key, what it runs, what it does. The searchable keymap — “how do I do X” rather than “run X”.
Grep
Matches for a pattern across the project.
Files
Files under the working directory.
Project
Directories that look like project roots.
Implementations§
Trait Implementations§
impl Copy for Source
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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