pub enum HostToStdin {
Swapchain(SharedSwapchain),
WindowGeomChange {
dpi_factor: f64,
window_id: usize,
left: f64,
top: f64,
width: f64,
height: f64,
},
Tick,
MouseDown(StdinMouseDown),
MouseUp(StdinMouseUp),
MouseMove(StdinMouseMove),
KeyDown(KeyEvent),
KeyUp(KeyEvent),
TextInput(TextInputEvent),
Scroll(StdinScroll),
}
Variants§
Swapchain(SharedSwapchain)
WindowGeomChange
Tick
MouseDown(StdinMouseDown)
MouseUp(StdinMouseUp)
MouseMove(StdinMouseMove)
KeyDown(KeyEvent)
KeyUp(KeyEvent)
TextInput(TextInputEvent)
Scroll(StdinScroll)
Implementations§
Trait Implementations§
Source§impl Clone for HostToStdin
impl Clone for HostToStdin
Source§fn clone(&self) -> HostToStdin
fn clone(&self) -> HostToStdin
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl DeBin for HostToStdin
impl DeBin for HostToStdin
Source§impl DeJson for HostToStdin
impl DeJson for HostToStdin
Source§impl Debug for HostToStdin
impl Debug for HostToStdin
Source§impl SerBin for HostToStdin
impl SerBin for HostToStdin
Source§impl SerJson for HostToStdin
impl SerJson for HostToStdin
fn ser_json(&self, d: usize, s: &mut SerJsonState)
fn serialize_json(&self) -> String
Auto Trait Implementations§
impl Freeze for HostToStdin
impl RefUnwindSafe for HostToStdin
impl Send for HostToStdin
impl Sync for HostToStdin
impl Unpin for HostToStdin
impl UnwindSafe for HostToStdin
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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