pub struct TouchpadState {
pub on: bool,
}Expand description
The touchpad state communicated over the event stream.
Fields§
§on: boolWhether the touchpad is currently on.
Note that this only indicates the Action::ToggleTouchpad state. The touchpad can be
disabled in hardware, or via input { touchpad { off; } }—this is not reflected here.
Trait Implementations§
Source§impl Debug for TouchpadState
impl Debug for TouchpadState
Source§impl Default for TouchpadState
impl Default for TouchpadState
Auto Trait Implementations§
impl Freeze for TouchpadState
impl RefUnwindSafe for TouchpadState
impl Send for TouchpadState
impl Sync for TouchpadState
impl Unpin for TouchpadState
impl UnsafeUnpin for TouchpadState
impl UnwindSafe for TouchpadState
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