pub struct BasicGhostTextStateManager { /* private fields */ }Expand description
Basic ghost text state manager implementation
Implementations§
Trait Implementations§
Source§impl Default for BasicGhostTextStateManager
impl Default for BasicGhostTextStateManager
Source§impl GhostTextStateManager for BasicGhostTextStateManager
impl GhostTextStateManager for BasicGhostTextStateManager
Source§fn accept_partial(&mut self, mode: PartialAcceptanceMode) -> Option<String>
fn accept_partial(&mut self, mode: PartialAcceptanceMode) -> Option<String>
Accept ghost text partially
Source§fn get_state(&self) -> &GhostTextState
fn get_state(&self) -> &GhostTextState
Get current ghost text state
Source§fn is_displayed(&self) -> bool
fn is_displayed(&self) -> bool
Check if ghost text is currently displayed
Auto Trait Implementations§
impl Freeze for BasicGhostTextStateManager
impl RefUnwindSafe for BasicGhostTextStateManager
impl Send for BasicGhostTextStateManager
impl Sync for BasicGhostTextStateManager
impl Unpin for BasicGhostTextStateManager
impl UnwindSafe for BasicGhostTextStateManager
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