pub enum EditKey {
Show 16 variants
Left,
Right,
Up,
Down,
Home,
End,
PageUp,
PageDown,
Backspace,
Delete,
Enter,
Tab,
SelectAll,
Undo,
Redo,
Escape,
}Expand description
Editing keys, decoupled from any windowing library’s key codes.
Variants§
Left
Right
Up
Down
Home
End
PageUp
PageDown
Backspace
Delete
Enter
Tab
SelectAll
Undo
Undo/redo of the edit widget’s own history (drivers map the platform
chords; hosts with their own text model never see these — they take
the raw chord through KeyDown).
Redo
Escape
Implementations§
Source§impl EditKey
impl EditKey
Sourcepub const ALL: [EditKey; 16]
pub const ALL: [EditKey; 16]
Every editing key, in declaration order — the list a binding’s name table and a generated type union are checked against, so a key added here reaches C, Node and TypeScript or fails a build.
Trait Implementations§
impl Copy for EditKey
impl Eq for EditKey
impl StructuralPartialEq for EditKey
Auto Trait Implementations§
impl Freeze for EditKey
impl RefUnwindSafe for EditKey
impl Send for EditKey
impl Sync for EditKey
impl Unpin for EditKey
impl UnsafeUnpin for EditKey
impl UnwindSafe for EditKey
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.