Skip to content
Snippets Groups Projects
Commit 8469e48c authored by MrGVSV's avatar MrGVSV
Browse files

Added clarifying documentation

parent dc160170
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,11 @@ impl Event {
}
}
/// The type of event
///
/// __Note:__ This type implements `PartialEq` and `Hash` in a way that only considers the variant itself,
/// not the underlying data. If full comparisons are needed, they should be done with the inner data or
/// with a custom wrapper.
#[derive(Debug, Clone, Copy)]
pub enum EventType {
Click(CursorEvent),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment