pub struct HistoryHinter {}
Expand description
Add suggestion based on previous history entries matching current user
input.
Specific hint type
Takes the currently edited line
with the cursor pos
ition and
returns the string that should be displayed or None
if no hint is available for the text the user currently typed.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.