#[repr(u32)]pub enum TCOD_event_t {
Show 13 variants
TCOD_EVENT_NONE = 0,
TCOD_EVENT_KEY_PRESS = 1,
TCOD_EVENT_KEY_RELEASE = 2,
TCOD_EVENT_KEY = 3,
TCOD_EVENT_MOUSE_MOVE = 4,
TCOD_EVENT_MOUSE_PRESS = 8,
TCOD_EVENT_MOUSE_RELEASE = 16,
TCOD_EVENT_MOUSE = 28,
TCOD_EVENT_FINGER_MOVE = 32,
TCOD_EVENT_FINGER_PRESS = 64,
TCOD_EVENT_FINGER_RELEASE = 128,
TCOD_EVENT_FINGER = 224,
TCOD_EVENT_ANY = 255,
}Variants§
TCOD_EVENT_NONE = 0
TCOD_EVENT_KEY_PRESS = 1
TCOD_EVENT_KEY_RELEASE = 2
TCOD_EVENT_KEY = 3
TCOD_EVENT_MOUSE_MOVE = 4
TCOD_EVENT_MOUSE_PRESS = 8
TCOD_EVENT_MOUSE_RELEASE = 16
TCOD_EVENT_MOUSE = 28
TCOD_EVENT_FINGER_MOVE = 32
TCOD_EVENT_FINGER_PRESS = 64
TCOD_EVENT_FINGER_RELEASE = 128
TCOD_EVENT_FINGER = 224
TCOD_EVENT_ANY = 255
Trait Implementations§
Source§impl Clone for TCOD_event_t
impl Clone for TCOD_event_t
Source§fn clone(&self) -> TCOD_event_t
fn clone(&self) -> TCOD_event_t
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 TCOD_event_t
impl Debug for TCOD_event_t
Source§impl Hash for TCOD_event_t
impl Hash for TCOD_event_t
Source§impl PartialEq for TCOD_event_t
impl PartialEq for TCOD_event_t
impl Copy for TCOD_event_t
impl Eq for TCOD_event_t
impl StructuralPartialEq for TCOD_event_t
Auto Trait Implementations§
impl Freeze for TCOD_event_t
impl RefUnwindSafe for TCOD_event_t
impl Send for TCOD_event_t
impl Sync for TCOD_event_t
impl Unpin for TCOD_event_t
impl UnwindSafe for TCOD_event_t
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