pub struct SeatOptions {
pub seat: String,
pub log_priority: LogPriority,
}Available on crate feature
libinput only.Expand description
What to open.
Fields§
§seat: StringThe seat’s udev name. seat0 unless the machine has more than one.
A name udev has never heard of is not an error: libinput asks for the
devices tagged with it, gets none, and carries on. So a typo here and
a machine with no input devices look the same from the outside –
keyboard_count after the first dispatch is
how to tell.
log_priority: LogPriorityHow much libinput should say about itself.
Whatever passes this is forwarded into drmkit_log tagged
[libinput], where the process-wide sink and level apply on top –
so a message has to pass both. The default matches libinput’s own, so
leaving it alone costs nothing.
Trait Implementations§
Source§impl Clone for SeatOptions
impl Clone for SeatOptions
Source§impl Debug for SeatOptions
impl Debug for SeatOptions
Auto Trait Implementations§
impl Freeze for SeatOptions
impl RefUnwindSafe for SeatOptions
impl Send for SeatOptions
impl Sync for SeatOptions
impl Unpin for SeatOptions
impl UnsafeUnpin for SeatOptions
impl UnwindSafe for SeatOptions
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