Struct HistoryHinter

pub struct HistoryHinter {}

Add suggestion based on previous history entries matching current user input.

Implementations

impl HistoryHinter

fn new() -> Self

Create a new HistoryHinter

Trait Implementations

impl Default for HistoryHinter

fn default() -> Self

impl Hinter for HistoryHinter

type Hint = String;
fn hint(&self, line: &str, pos: usize, ctx: &Context<'_>) -> Option<String>

Auto Trait Implementations

impl Freeze for HistoryHinter

impl RefUnwindSafe for HistoryHinter

impl Send for HistoryHinter

impl Sync for HistoryHinter

impl Unpin for HistoryHinter

impl UnsafeUnpin for HistoryHinter

impl UnwindSafe for HistoryHinter

Blanket Implementations

impl<T> Any for HistoryHinter where T: 'static + ?Sized,

impl<T> Borrow<T> for HistoryHinter where T: ?Sized,

impl<T> BorrowMut<T> for HistoryHinter where T: ?Sized,

impl<T> From<T> for HistoryHinter

impl<T, U> Into<U> for HistoryHinter where U: From<T>,

impl<T, U> TryFrom<U> for HistoryHinter where U: Into<T>,

impl<T, U> TryInto<U> for HistoryHinter where U: TryFrom<T>,