pub enum ArrowKey {
Up,
Down,
Left,
Right,
}Expand description
事件处理相关功能 方向键
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ArrowKey
impl<'de> Deserialize<'de> for ArrowKey
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
impl Eq for ArrowKey
impl StructuralPartialEq for ArrowKey
Auto Trait Implementations§
impl Freeze for ArrowKey
impl RefUnwindSafe for ArrowKey
impl Send for ArrowKey
impl Sync for ArrowKey
impl Unpin for ArrowKey
impl UnsafeUnpin for ArrowKey
impl UnwindSafe for ArrowKey
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