Struct swayipc::Libinput [−][src]
#[non_exhaustive]pub struct Libinput {Show 14 fields
pub send_events: Option<SendEvents>,
pub tap: Option<EnabledOrDisabled>,
pub tap_button_mapping: Option<ButtonMapping>,
pub tap_drag: Option<EnabledOrDisabled>,
pub tap_drag_lock: Option<EnabledOrDisabled>,
pub accel_speed: Option<f64>,
pub natural_scroll: Option<EnabledOrDisabled>,
pub left_handed: Option<EnabledOrDisabled>,
pub click_method: Option<ClickMethod>,
pub middle_emulation: Option<EnabledOrDisabled>,
pub scroll_method: Option<ScrollMethod>,
pub scroll_button: Option<i32>,
pub dwt: Option<EnabledOrDisabled>,
pub calibration_matrix: Option<[f32; 6]>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.send_events: Option<SendEvents>
tap: Option<EnabledOrDisabled>
tap_drag: Option<EnabledOrDisabled>
tap_drag_lock: Option<EnabledOrDisabled>
accel_speed: Option<f64>
natural_scroll: Option<EnabledOrDisabled>
left_handed: Option<EnabledOrDisabled>
click_method: Option<ClickMethod>
middle_emulation: Option<EnabledOrDisabled>
scroll_method: Option<ScrollMethod>
dwt: Option<EnabledOrDisabled>
calibration_matrix: Option<[f32; 6]>
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Libinput, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Libinput, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more