pub enum KeyOutcome {
Ignored,
CursorMoved,
TextChanged,
}Expand description
Variants§
Ignored
このキーは TextBox では扱わなかった(呼び出し側の既定動作へ委ねてよい)。
CursorMoved
カーソルだけが動いた。テキストは 1 文字も変わっていない。
TextChanged
テキストを書き換えた。
Trait Implementations§
Source§impl Clone for KeyOutcome
impl Clone for KeyOutcome
Source§fn clone(&self) -> KeyOutcome
fn clone(&self) -> KeyOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KeyOutcome
Source§impl Debug for KeyOutcome
impl Debug for KeyOutcome
impl Eq for KeyOutcome
Source§impl PartialEq for KeyOutcome
impl PartialEq for KeyOutcome
Source§fn eq(&self, other: &KeyOutcome) -> bool
fn eq(&self, other: &KeyOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for KeyOutcome
Auto Trait Implementations§
impl Freeze for KeyOutcome
impl RefUnwindSafe for KeyOutcome
impl Send for KeyOutcome
impl Sync for KeyOutcome
impl Unpin for KeyOutcome
impl UnsafeUnpin for KeyOutcome
impl UnwindSafe for KeyOutcome
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.