pub struct Complete { /* private fields */ }Expand description
Tab-completion state: candidates for the token at start,
expect being the whole line after the last insertion (an edit in
between restarts the match).
Implementations§
Source§impl Complete
impl Complete
Sourcepub fn token(buf: &str, address_list: bool) -> (usize, String)
pub fn token(buf: &str, address_list: bool) -> (usize, String)
Where the token to complete begins, and the token: the text after the last comma at an address prompt (mutt’s address list), the whole line elsewhere, leading space skipped.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Complete
impl RefUnwindSafe for Complete
impl Send for Complete
impl Sync for Complete
impl Unpin for Complete
impl UnsafeUnpin for Complete
impl UnwindSafe for Complete
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