pub struct InputEventRequest { /* private fields */ }Expand description
Data supplied each time SCS asks one device for its next event.
Implementations§
Source§impl InputEventRequest
impl InputEventRequest
Sourcepub const fn device(self) -> InputDeviceId
pub const fn device(self) -> InputDeviceId
Device whose callback SCS is currently polling.
Sourcepub const fn flags(self) -> InputEventFlags
pub const fn flags(self) -> InputEventFlags
Frame and activation boundary flags supplied by SCS.
Trait Implementations§
Source§impl Clone for InputEventRequest
impl Clone for InputEventRequest
Source§fn clone(&self) -> InputEventRequest
fn clone(&self) -> InputEventRequest
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 InputEventRequest
Source§impl Debug for InputEventRequest
impl Debug for InputEventRequest
impl Eq for InputEventRequest
Source§impl PartialEq for InputEventRequest
impl PartialEq for InputEventRequest
impl StructuralPartialEq for InputEventRequest
Auto Trait Implementations§
impl Freeze for InputEventRequest
impl RefUnwindSafe for InputEventRequest
impl Send for InputEventRequest
impl Sync for InputEventRequest
impl Unpin for InputEventRequest
impl UnsafeUnpin for InputEventRequest
impl UnwindSafe for InputEventRequest
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