#[non_exhaustive]pub enum UiActivity<'a> {
Painted(&'a Scene),
PointerMoved(Point),
Clicked(Point),
Described(&'a AccessTree),
}Expand description
What just happened in the UI, for something watching it as a whole.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Painted(&'a Scene)
A frame finished painting, and this is it.
PointerMoved(Point)
The pointer moved here.
Clicked(Point)
The primary button went down here.
Described(&'a AccessTree)
What is on screen, as asked for with BuildCx::ask_for_access_tree.
Trait Implementations§
Source§impl<'a> Clone for UiActivity<'a>
impl<'a> Clone for UiActivity<'a>
Source§fn clone(&self) -> UiActivity<'a>
fn clone(&self) -> UiActivity<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for UiActivity<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for UiActivity<'a>
impl<'a> !UnwindSafe for UiActivity<'a>
impl<'a> Freeze for UiActivity<'a>
impl<'a> Send for UiActivity<'a>
impl<'a> Sync for UiActivity<'a>
impl<'a> Unpin for UiActivity<'a>
impl<'a> UnsafeUnpin for UiActivity<'a>
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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