#[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)]
pub enum EventPhase {
Bubble,
Capture,
}
impl EventPhase {
#[inline]
pub fn is_capture(&self) -> bool {
self == &EventPhase::Capture
}
#[inline]
pub fn is_bubble(&self) -> bool {
self == &EventPhase::Bubble
}
}