usesuper::Platform;/// Trait for types that can be converted to and from platform-specific key codes
pubtraitKeyCodeMapper{/// Convert the key or modifier to a platform-specific code
fnto_code(&self, platform: Platform)->usize;/// Parse a key or modifier from a platform-specific code
fnfrom_code(code:usize, platform: Platform)->Option<Self>whereSelf: Sized;
}