pub enum GhostTextState {
Dismissed,
Displayed(GhostText),
Accepted(GhostText),
}Expand description
Represents the state of ghost text
Variants§
Dismissed
No ghost text is currently displayed
Displayed(GhostText)
Ghost text is displayed and can be accepted
Accepted(GhostText)
Ghost text has been accepted
Trait Implementations§
Source§impl Clone for GhostTextState
impl Clone for GhostTextState
Source§fn clone(&self) -> GhostTextState
fn clone(&self) -> GhostTextState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GhostTextState
impl Debug for GhostTextState
Source§impl Default for GhostTextState
impl Default for GhostTextState
Source§fn default() -> GhostTextState
fn default() -> GhostTextState
Returns the “default value” for a type. Read more
Source§impl PartialEq for GhostTextState
impl PartialEq for GhostTextState
impl Eq for GhostTextState
impl StructuralPartialEq for GhostTextState
Auto Trait Implementations§
impl Freeze for GhostTextState
impl RefUnwindSafe for GhostTextState
impl Send for GhostTextState
impl Sync for GhostTextState
impl Unpin for GhostTextState
impl UnwindSafe for GhostTextState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.