1 2 3 4 5 6 7 8 9 10
use crate::core::NodeId; pub struct KeyboardEvent { pub key: String, pub code: String, pub shift: bool, pub ctrl: bool, pub alt: bool, pub target_id: NodeId, }