pub enum BrowserInput {
Click {
x: f64,
y: f64,
button: BrowserMouseButton,
},
Scroll {
x: f64,
y: f64,
dx: f64,
dy: f64,
},
Key {
key: String,
},
Text {
text: String,
},
Navigate {
url: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for BrowserInput
impl Clone for BrowserInput
Source§impl Debug for BrowserInput
impl Debug for BrowserInput
Source§impl PartialEq for BrowserInput
impl PartialEq for BrowserInput
impl StructuralPartialEq for BrowserInput
Auto Trait Implementations§
impl Freeze for BrowserInput
impl RefUnwindSafe for BrowserInput
impl Send for BrowserInput
impl Sync for BrowserInput
impl Unpin for BrowserInput
impl UnsafeUnpin for BrowserInput
impl UnwindSafe for BrowserInput
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