pub struct InputEventFlags(/* private fields */);Expand description
Flags supplied when SCS requests the next event from a device.
Implementations§
Source§impl InputEventFlags
impl InputEventFlags
pub const fn from_raw(raw: u32) -> InputEventFlags
pub const fn raw(self) -> u32
pub const fn first_in_frame(self) -> bool
pub const fn first_after_activation(self) -> bool
Trait Implementations§
Source§impl Clone for InputEventFlags
impl Clone for InputEventFlags
Source§fn clone(&self) -> InputEventFlags
fn clone(&self) -> InputEventFlags
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 InputEventFlags
Source§impl Debug for InputEventFlags
impl Debug for InputEventFlags
impl Eq for InputEventFlags
Source§impl PartialEq for InputEventFlags
impl PartialEq for InputEventFlags
impl StructuralPartialEq for InputEventFlags
Auto Trait Implementations§
impl Freeze for InputEventFlags
impl RefUnwindSafe for InputEventFlags
impl Send for InputEventFlags
impl Sync for InputEventFlags
impl Unpin for InputEventFlags
impl UnsafeUnpin for InputEventFlags
impl UnwindSafe for InputEventFlags
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