Enum swayipc_types::InputChange
source · #[non_exhaustive]pub enum InputChange {
Added,
Removed,
XkbKeymap,
XkbLayout,
LibinputConfig,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Added
The input device became available.
Removed
The input device is no longer available.
XkbKeymap
(Keyboards only) The keymap for the keyboard has changed.
XkbLayout
(Keyboards only) The effective layout in the keymap has changed.
LibinputConfig
(libinput device only) A libinput config option for the device changed.
Trait Implementations§
source§impl Clone for InputChange
impl Clone for InputChange
source§fn clone(&self) -> InputChange
fn clone(&self) -> InputChange
Returns a copy 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 moresource§impl Debug for InputChange
impl Debug for InputChange
source§impl<'de> Deserialize<'de> for InputChange
impl<'de> Deserialize<'de> for InputChange
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for InputChange
impl Serialize for InputChange
impl Copy for InputChange
Auto Trait Implementations§
impl RefUnwindSafe for InputChange
impl Send for InputChange
impl Sync for InputChange
impl Unpin for InputChange
impl UnwindSafe for InputChange
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