Lines Matching refs:FunctionKeySuffix
24 pub enum FunctionKeySuffix { enum
35 impl FunctionKeySuffix { impl
39 FunctionKeySuffix::Up => &[0x5b, 0x41], in bytes()
40 FunctionKeySuffix::Down => &[0x5b, 0x42], in bytes()
41 FunctionKeySuffix::Left => &[0x5b, 0x44], in bytes()
42 FunctionKeySuffix::Right => &[0x5b, 0x43], in bytes()
43 FunctionKeySuffix::Home => &[0x5b, 0x48], in bytes()
44 FunctionKeySuffix::End => &[0x5b, 0x46], in bytes()
45 FunctionKeySuffix::Delete => &[0x5b, 0x33, 0x7e], in bytes()
51 [0x5b, 0x41] => Some(FunctionKeySuffix::Up), in try_from()
52 [0x5b, 0x42] => Some(FunctionKeySuffix::Down), in try_from()
53 [0x5b, 0x44] => Some(FunctionKeySuffix::Left), in try_from()
54 [0x5b, 0x43] => Some(FunctionKeySuffix::Right), in try_from()
55 [0x5b, 0x48] => Some(FunctionKeySuffix::Home), in try_from()
56 [0x5b, 0x46] => Some(FunctionKeySuffix::End), in try_from()
57 [0x5b, 0x33, 0x7e] => Some(FunctionKeySuffix::Delete), in try_from()
72 impl Into<&[u8]> for FunctionKeySuffix { implementation