pub struct TabCompleteOrAcceptHint;Expand description
Tab accepts hint if present, else triggers completion.
Trait Implementations§
Source§impl ConditionalEventHandler for TabCompleteOrAcceptHint
impl ConditionalEventHandler for TabCompleteOrAcceptHint
Source§fn handle(
&self,
_evt: &Event,
_n: RepeatCount,
_positive: bool,
ctx: &EventContext<'_>,
) -> Option<Cmd>
fn handle( &self, _evt: &Event, _n: RepeatCount, _positive: bool, ctx: &EventContext<'_>, ) -> Option<Cmd>
Takes the current input state and
returns the command to be performed or
None to perform the default
one.Auto Trait Implementations§
impl Freeze for TabCompleteOrAcceptHint
impl RefUnwindSafe for TabCompleteOrAcceptHint
impl Send for TabCompleteOrAcceptHint
impl Sync for TabCompleteOrAcceptHint
impl Unpin for TabCompleteOrAcceptHint
impl UnsafeUnpin for TabCompleteOrAcceptHint
impl UnwindSafe for TabCompleteOrAcceptHint
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