#[repr(C)]pub enum FlywheelEventType {
None = 0,
Key = 1,
Resize = 2,
Error = 3,
Shutdown = 4,
}Expand description
Input event type from polling.
Variants§
None = 0
No event available.
Key = 1
Key press event.
Resize = 2
Terminal resize event.
Error = 3
Error event.
Shutdown = 4
Shutdown event.
Trait Implementations§
Source§impl Clone for FlywheelEventType
impl Clone for FlywheelEventType
Source§fn clone(&self) -> FlywheelEventType
fn clone(&self) -> FlywheelEventType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FlywheelEventType
impl Debug for FlywheelEventType
Source§impl PartialEq for FlywheelEventType
impl PartialEq for FlywheelEventType
impl Copy for FlywheelEventType
impl Eq for FlywheelEventType
impl StructuralPartialEq for FlywheelEventType
Auto Trait Implementations§
impl Freeze for FlywheelEventType
impl RefUnwindSafe for FlywheelEventType
impl Send for FlywheelEventType
impl Sync for FlywheelEventType
impl Unpin for FlywheelEventType
impl UnwindSafe for FlywheelEventType
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