pub struct UiEventMapper { /* private fields */ }Implementations§
Source§impl UiEventMapper
impl UiEventMapper
pub fn new() -> Self
pub fn hover(&self) -> &HoverTracker
pub fn handle_pointer_event( &mut self, layer: &InteractionLayer, event: PointerEvent, ) -> UiEventBatch
Trait Implementations§
Source§impl Clone for UiEventMapper
impl Clone for UiEventMapper
Source§fn clone(&self) -> UiEventMapper
fn clone(&self) -> UiEventMapper
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 moreSource§impl Debug for UiEventMapper
impl Debug for UiEventMapper
Source§impl Default for UiEventMapper
impl Default for UiEventMapper
Source§fn default() -> UiEventMapper
fn default() -> UiEventMapper
Returns the “default value” for a type. Read more
impl Eq for UiEventMapper
Source§impl PartialEq for UiEventMapper
impl PartialEq for UiEventMapper
Source§fn eq(&self, other: &UiEventMapper) -> bool
fn eq(&self, other: &UiEventMapper) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UiEventMapper
Auto Trait Implementations§
impl Freeze for UiEventMapper
impl RefUnwindSafe for UiEventMapper
impl Send for UiEventMapper
impl Sync for UiEventMapper
impl Unpin for UiEventMapper
impl UnsafeUnpin for UiEventMapper
impl UnwindSafe for UiEventMapper
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