pub enum Event {
Show 43 variants
Construct,
Destruct,
Pause,
Resume,
Draw(DrawEvent),
LiveEdit,
AppGotFocus,
AppLostFocus,
NextFrame(NextFrameEvent),
XRUpdate(XRUpdateEvent),
WindowDragQuery(WindowDragQueryEvent),
WindowCloseRequested(WindowCloseRequestedEvent),
WindowClosed(WindowClosedEvent),
WindowGeomChange(WindowGeomChangeEvent),
VirtualKeyboard(VirtualKeyboardEvent),
ClearAtlasses,
MouseDown(MouseDownEvent),
MouseMove(MouseMoveEvent),
MouseUp(MouseUpEvent),
TouchUpdate(TouchUpdateEvent),
Scroll(ScrollEvent),
Timer(TimerEvent),
Signal,
Trigger(TriggerEvent),
MacosMenuCommand(LiveId),
KeyFocus(KeyFocusEvent),
KeyFocusLost(KeyFocusEvent),
KeyDown(KeyEvent),
KeyUp(KeyEvent),
TextInput(TextInputEvent),
TextCopy(TextClipboardEvent),
TextCut(TextClipboardEvent),
Drag(DragEvent),
Drop(DropEvent),
DragEnd,
AudioDevices(AudioDevicesEvent),
MidiPorts(MidiPortsEvent),
VideoInputs(VideoInputsEvent),
NetworkResponses(Vec<NetworkResponseEvent>),
VideoStream(VideoStreamEvent),
VideoDecodingInitialized(VideoDecodingInitializedEvent),
VideoChunkDecoded(LiveId),
VideoDecodingError(VideoDecodingErrorEvent),
}Variants§
Construct
Destruct
Pause
Resume
Draw(DrawEvent)
LiveEdit
AppGotFocus
AppLostFocus
NextFrame(NextFrameEvent)
XRUpdate(XRUpdateEvent)
WindowDragQuery(WindowDragQueryEvent)
WindowCloseRequested(WindowCloseRequestedEvent)
WindowClosed(WindowClosedEvent)
WindowGeomChange(WindowGeomChangeEvent)
VirtualKeyboard(VirtualKeyboardEvent)
ClearAtlasses
MouseDown(MouseDownEvent)
MouseMove(MouseMoveEvent)
MouseUp(MouseUpEvent)
TouchUpdate(TouchUpdateEvent)
Scroll(ScrollEvent)
Timer(TimerEvent)
Signal
Trigger(TriggerEvent)
MacosMenuCommand(LiveId)
KeyFocus(KeyFocusEvent)
KeyFocusLost(KeyFocusEvent)
KeyDown(KeyEvent)
KeyUp(KeyEvent)
TextInput(TextInputEvent)
TextCopy(TextClipboardEvent)
TextCut(TextClipboardEvent)
Drag(DragEvent)
Drop(DropEvent)
DragEnd
AudioDevices(AudioDevicesEvent)
MidiPorts(MidiPortsEvent)
VideoInputs(VideoInputsEvent)
NetworkResponses(Vec<NetworkResponseEvent>)
VideoStream(VideoStreamEvent)
VideoDecodingInitialized(VideoDecodingInitializedEvent)
VideoChunkDecoded(LiveId)
VideoDecodingError(VideoDecodingErrorEvent)
Implementations§
Source§impl Event
impl Event
pub fn hits(&self, cx: &mut Cx, area: Area) -> Hit
pub fn hits_with_sweep_area( &self, cx: &mut Cx, area: Area, sweep_area: Area, ) -> Hit
pub fn hits_with_capture_overload( &self, cx: &mut Cx, area: Area, capture_overload: bool, ) -> Hit
pub fn hits_with_options( &self, cx: &mut Cx, area: Area, options: HitOptions, ) -> Hit
Source§impl Event
impl Event
pub fn network_responses( &self, ) -> NetworkResponseIter<Iter<'_, NetworkResponseEvent>> ⓘ
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Event
impl !RefUnwindSafe for Event
impl !Send for Event
impl !Sync for Event
impl Unpin for Event
impl !UnwindSafe for Event
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