pub fn keys(&self) -> impl Iterator<Item = &Key<'event>> {
        self.0
            .iter()
            .filter_map(|e| if let Event::Key(k) = e { Some(k) } else { None })
    }
/// Returns an iterator visiting all keys in order.
Returns an iterator visiting all keys in order.
Returns an iterator visiting all keys in order .
pub fn keys(&self) -> impl Iterator<Item = &Key<'event>> {
        self.0
            .iter()
            .filter_map(|e| if let Event::Key(k) = e { Some(k) } else { None })
    }
pub fn keys ( & self ) -> impl Iterator < Item = & Key < ' event > > { self . 0 . iter ( ) . filter_map ( | e | if let Event :: Key ( k ) = e { Some ( k ) } else { None } ) }
Returns an iterator visiting all keys in order.
Returns an iterator visiting all keys in order .
&self