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

@ -27,7 +27,7 @@ pub struct CustomEvent {
impl CustomEventDerived for Event {
fn is_customevent(&self) -> bool {
self.type_id == CustomEventTypeId
*self.type_id() == CustomEventTypeId
}
}