pub struct TimedTypeaheadState { /* private fields */ }Expand description
Timer-driven typeahead query state (Radix-style).
Implementations§
Source§impl TimedTypeaheadState
impl TimedTypeaheadState
pub fn query(&self) -> &str
pub fn clear_and_cancel(&mut self, host: &mut dyn UiActionHost)
pub fn on_timer(&mut self, token: TimerToken) -> bool
pub fn push_key_and_arm_timer( &mut self, host: &mut dyn UiActionHost, window: AppWindowId, key: KeyCode, timeout: Duration, ) -> Option<char>
Trait Implementations§
Source§impl Debug for TimedTypeaheadState
impl Debug for TimedTypeaheadState
Source§impl Default for TimedTypeaheadState
impl Default for TimedTypeaheadState
Source§fn default() -> TimedTypeaheadState
fn default() -> TimedTypeaheadState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TimedTypeaheadState
impl RefUnwindSafe for TimedTypeaheadState
impl Send for TimedTypeaheadState
impl Sync for TimedTypeaheadState
impl Unpin for TimedTypeaheadState
impl UnsafeUnpin for TimedTypeaheadState
impl UnwindSafe for TimedTypeaheadState
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