pub struct UiEventDispatcher { /* private fields */ }Implementations§
Source§impl UiEventDispatcher
impl UiEventDispatcher
pub fn new() -> Self
pub fn state(&self) -> UiInteractionState
pub fn clear_interaction_state(&mut self) -> bool
pub fn dispatch(&mut self, tree: &HostTree, event: InputEvent) -> Vec<UiEvent>
pub fn sync_focus_for_tree(&mut self, tree: &HostTree) -> Vec<UiEvent>
pub fn sync_interaction_for_tree(&mut self, tree: &HostTree) -> Vec<UiEvent>
pub fn focus_node(&mut self, tree: &HostTree, id: &UiId) -> Vec<UiEvent>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for UiEventDispatcher
impl !UnwindSafe for UiEventDispatcher
impl Freeze for UiEventDispatcher
impl Send for UiEventDispatcher
impl Sync for UiEventDispatcher
impl Unpin for UiEventDispatcher
impl UnsafeUnpin for UiEventDispatcher
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