Privatize Event

This commit is contained in:
Tim Taubert 2014-10-13 10:43:24 +02:00
parent 28061b1c91
commit cd9de05088
8 changed files with 95 additions and 39 deletions

View file

@ -30,7 +30,7 @@ pub struct UIEvent {
impl UIEventDerived for Event {
fn is_uievent(&self) -> bool {
self.type_id == UIEventTypeId
*self.type_id() == UIEventTypeId
}
}