#[repr(C)]pub struct ScsInputEvent {
pub input_index: ScsU32,
pub value: ScsInputEventValue,
}Expand description
One event returned by an input device callback.
Fields§
§input_index: ScsU32§value: ScsInputEventValueTrait Implementations§
Source§impl Clone for ScsInputEvent
impl Clone for ScsInputEvent
Source§fn clone(&self) -> ScsInputEvent
fn clone(&self) -> ScsInputEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScsInputEvent
Auto Trait Implementations§
impl Freeze for ScsInputEvent
impl RefUnwindSafe for ScsInputEvent
impl Send for ScsInputEvent
impl Sync for ScsInputEvent
impl Unpin for ScsInputEvent
impl UnsafeUnpin for ScsInputEvent
impl UnwindSafe for ScsInputEvent
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