Closed
Description
I have the following Enum defined within a crate:
pub enum Event {
pub KeyEvent{md: u8, key: u16, ch: u32},
pub ResizeEvent{w: i32, h: i32},
NoEvent,
NotManagedEvent
}
When I try to use the crate I cannot match KeyEvent. rustc complains about KeyEvent not name a structure.
Relevant information: