pub struct UiActionEvent {
pub target: UiId,
pub action: UiAction,
pub handler: UiActionHandler,
}Fields§
§target: UiId§action: UiAction§handler: UiActionHandlerImplementations§
Source§impl UiActionEvent
impl UiActionEvent
pub fn dispatch(&self, context: &mut UiEventContext)
Trait Implementations§
Source§impl Clone for UiActionEvent
impl Clone for UiActionEvent
Source§fn clone(&self) -> UiActionEvent
fn clone(&self) -> UiActionEvent
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for UiActionEvent
impl !UnwindSafe for UiActionEvent
impl Freeze for UiActionEvent
impl Send for UiActionEvent
impl Sync for UiActionEvent
impl Unpin for UiActionEvent
impl UnsafeUnpin for UiActionEvent
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