pub struct DeviceInputSpec {
pub targets: Vec<String>,
}Expand description
Device input face (device:input): pointer / keyboard / touch injection.
targets is the scope that gets pinned — “can only touch these windows /
screens”. Fine-grained upstream verb tokens (cua’s input.pointer.click
and friends) land in verb at P3; the variant shape is already stable.
Fields§
§targets: Vec<String>Input targets, e.g. ["window:editor"] / ["screen:main"].
Trait Implementations§
Source§impl Clone for DeviceInputSpec
impl Clone for DeviceInputSpec
Source§impl Debug for DeviceInputSpec
impl Debug for DeviceInputSpec
impl Eq for DeviceInputSpec
Source§impl PartialEq for DeviceInputSpec
impl PartialEq for DeviceInputSpec
impl StructuralPartialEq for DeviceInputSpec
Auto Trait Implementations§
impl Forget for DeviceInputSpec
impl Freeze for DeviceInputSpec
impl Move for DeviceInputSpec
impl RefUnwindSafe for DeviceInputSpec
impl Send for DeviceInputSpec
impl Sync for DeviceInputSpec
impl Unpin for DeviceInputSpec
impl UnsafeUnpin for DeviceInputSpec
impl UnwindSafe for DeviceInputSpec
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