Struct HistoryHinter
struct HistoryHinter { ... }
Add suggestion based on previous history entries matching current user input.
Implementations
impl HistoryHinter
fn new() -> SelfCreate a new
HistoryHinter
impl Default for HistoryHinter
fn default() -> HistoryHinter
impl Freeze for HistoryHinter
impl Hinter for HistoryHinter
fn hint(self: &Self, line: &str, pos: usize, ctx: &Context<'_>) -> Option<String>
impl RefUnwindSafe for HistoryHinter
impl Send for HistoryHinter
impl Sync for HistoryHinter
impl Unpin for HistoryHinter
impl UnwindSafe for HistoryHinter
impl<T> Any for HistoryHinter
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for HistoryHinter
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for HistoryHinter
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for HistoryHinter
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for HistoryHinter
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for HistoryHinter
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for HistoryHinter
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>