pub enum KeyboardEventType {
Press,
Release,
Repeat,
}Expand description
事件处理相关功能 键盘事件类型
Variants§
Trait Implementations§
Source§impl Debug for KeyboardEventType
impl Debug for KeyboardEventType
Source§impl<'de> Deserialize<'de> for KeyboardEventType
impl<'de> Deserialize<'de> for KeyboardEventType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for KeyboardEventType
impl PartialEq for KeyboardEventType
Source§impl Serialize for KeyboardEventType
impl Serialize for KeyboardEventType
impl Eq for KeyboardEventType
impl StructuralPartialEq for KeyboardEventType
Auto Trait Implementations§
impl Freeze for KeyboardEventType
impl RefUnwindSafe for KeyboardEventType
impl Send for KeyboardEventType
impl Sync for KeyboardEventType
impl Unpin for KeyboardEventType
impl UnsafeUnpin for KeyboardEventType
impl UnwindSafe for KeyboardEventType
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