pub struct Builder { /* private fields */ }Expand description
Device builder.
Implementations§
Source§impl Builder
impl Builder
pub fn event(self, key_codes: Values<'_, &str, *const c_int>) -> Res<Self>
Sourcepub fn max(self, value: i32) -> Self
pub fn max(self, value: i32) -> Self
Set the maximum value for the previously enabled absolute event.
Sourcepub fn min(self, value: i32) -> Self
pub fn min(self, value: i32) -> Self
Set the minimum value for the previously enabled absolute event.
Sourcepub fn fuzz(self, value: i32) -> Self
pub fn fuzz(self, value: i32) -> Self
Set the fuzz value for the previously enabled absolute event.
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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