pub struct JumpSource<T> {
pub id: String,
pub title: String,
pub prefix: Option<char>,
pub limit: usize,
pub items: Vec<Item<T>>,
}Expand description
One source of a JumpIndex: files, headings, commands.
Fields§
§id: StringWhat the caller matches on: files.
title: StringWhat the group is titled: Files.
prefix: Option<char>A character that, typed first, searches only this source.
limit: usizeThe most results the group shows while the search is over every source (default 5); narrowed to this source, all show.
items: Vec<Item<T>>Implementations§
Source§impl<T> JumpSource<T>
impl<T> JumpSource<T>
Trait Implementations§
Source§impl<T: Clone> Clone for JumpSource<T>
impl<T: Clone> Clone for JumpSource<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for JumpSource<T>
impl<T> !UnwindSafe for JumpSource<T>
impl<T> Freeze for JumpSource<T>
impl<T> Send for JumpSource<T>
impl<T> Sync for JumpSource<T>
impl<T> Unpin for JumpSource<T>
impl<T> UnsafeUnpin for JumpSource<T>
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