pub struct InputConfiguration {
pub keycodes: Vec<u32>,
pub touchscreen: Option<(u16, u16)>,
}Expand description
The configuration for an input channel
Fields§
§keycodes: Vec<u32>The supported keycodes
touchscreen: Option<(u16, u16)>The touchscreen width and height
Trait Implementations§
Source§impl Clone for InputConfiguration
impl Clone for InputConfiguration
Source§fn clone(&self) -> InputConfiguration
fn clone(&self) -> InputConfiguration
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 moreAuto Trait Implementations§
impl Freeze for InputConfiguration
impl RefUnwindSafe for InputConfiguration
impl Send for InputConfiguration
impl Sync for InputConfiguration
impl Unpin for InputConfiguration
impl UnsafeUnpin for InputConfiguration
impl UnwindSafe for InputConfiguration
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