#[repr(C)]pub struct _InputState {
pub Pressed: [cc_bool; 172],
pub RawMode: cc_bool,
pub Sources: cc_uint8,
pub DownHook: Option<unsafe extern "C" fn(btn: c_int, device: *mut InputDevice)>,
}
Fields§
§Pressed: [cc_bool; 172]
§RawMode: cc_bool
§Sources: cc_uint8
§DownHook: Option<unsafe extern "C" fn(btn: c_int, device: *mut InputDevice)>
Trait Implementations§
Source§impl Clone for _InputState
impl Clone for _InputState
Source§fn clone(&self) -> _InputState
fn clone(&self) -> _InputState
Returns a copy 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 _InputState
impl Debug for _InputState
Source§impl Hash for _InputState
impl Hash for _InputState
Source§impl PartialEq for _InputState
impl PartialEq for _InputState
impl Copy for _InputState
impl Eq for _InputState
impl StructuralPartialEq for _InputState
Auto Trait Implementations§
impl Freeze for _InputState
impl RefUnwindSafe for _InputState
impl Send for _InputState
impl Sync for _InputState
impl Unpin for _InputState
impl UnwindSafe for _InputState
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