pub struct LinuxButtonEventBatch {
pub events: Vec<input_event>,
pub event_time: MonotonicInstant,
pub power_is_pressed: bool,
pub function_is_pressed: bool,
pub palm_is_pressed: bool,
}Fields§
§events: Vec<input_event>§event_time: MonotonicInstant§power_is_pressed: bool§function_is_pressed: bool§palm_is_pressed: boolImplementations§
Auto Trait Implementations§
impl Freeze for LinuxButtonEventBatch
impl RefUnwindSafe for LinuxButtonEventBatch
impl Send for LinuxButtonEventBatch
impl Sync for LinuxButtonEventBatch
impl Unpin for LinuxButtonEventBatch
impl UnsafeUnpin for LinuxButtonEventBatch
impl UnwindSafe for LinuxButtonEventBatch
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more