#[repr(C)]pub struct TCOD_key_t {
pub vk: TCOD_keycode_t,
pub c: c_char,
pub text: [c_char; 32],
pub pressed: bool_,
pub lalt: bool_,
pub lctrl: bool_,
pub lmeta: bool_,
pub ralt: bool_,
pub rctrl: bool_,
pub rmeta: bool_,
pub shift: bool_,
}Fields§
§vk: TCOD_keycode_t§c: c_char§text: [c_char; 32]§pressed: bool_§lalt: bool_§lctrl: bool_§lmeta: bool_§ralt: bool_§rctrl: bool_§rmeta: bool_§shift: bool_Trait Implementations§
Auto Trait Implementations§
impl Freeze for TCOD_key_t
impl RefUnwindSafe for TCOD_key_t
impl Send for TCOD_key_t
impl Sync for TCOD_key_t
impl Unpin for TCOD_key_t
impl UnwindSafe for TCOD_key_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