#[repr(u32)]pub enum EventType {
Key = 0,
Motion = 1,
Window = 2,
Resize = 3,
PromptSessionStateChange = 4,
Orientation = 5,
CloseWindow = 6,
Input = 7,
InputConfiguration = 8,
WindowOutput = 9,
InputDeviceState = 10,
WindowPlacement = 11,
}Expand description
Event type.
Variants§
Key = 0
Unused since Mir 0.26.
Motion = 1
Unused since Mir 0.26.
Window = 2
Resize = 3
PromptSessionStateChange = 4
Orientation = 5
CloseWindow = 6
Input = 7
InputConfiguration = 8
Unused since Mir 0.26.
WindowOutput = 9
InputDeviceState = 10
WindowPlacement = 11
Trait Implementations§
Source§impl From<EventType> for MirEventType
impl From<EventType> for MirEventType
impl Copy for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnsafeUnpin for EventType
impl UnwindSafe for EventType
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