Struct classicube_sys::_InputState
source · #[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
source§fn eq(&self, other: &_InputState) -> bool
fn eq(&self, other: &_InputState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)