pub enum Event {
Clicked(NodeId),
Selected(NodeId, usize),
Changed(NodeId),
Submitted(NodeId),
Link(NodeId, usize),
}Expand description
Something the player did to an element.
Variants§
Clicked(NodeId)
A button was clicked.
Selected(NodeId, usize)
A row of a list or a combo box was selected.
Changed(NodeId)
A check box, a slider or an edit box changed.
Submitted(NodeId)
Enter was pressed in an edit box.
Link(NodeId, usize)
A link in a document was clicked (its index).
Trait Implementations§
impl Copy for Event
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin 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