#[repr(C)]pub struct spnav_event_button {
pub type_: c_int,
pub press: c_int,
pub bnum: c_int,
}Fields§
§type_: c_int§press: c_int§bnum: c_intTrait Implementations§
Source§fn clone(&self) -> spnav_event_button
fn clone(&self) -> spnav_event_button
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§fn default() -> spnav_event_button
fn default() -> spnav_event_button
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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