I/O
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use std::slice;
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
pub enum Button {
|
||||
Back,
|
||||
Screen1,
|
||||
@@ -88,7 +88,7 @@ impl Button {
|
||||
}
|
||||
}
|
||||
|
||||
pub(super) fn all_buttons() -> slice::Iter<'static, Self> {
|
||||
pub fn all_buttons() -> slice::Iter<'static, Self> {
|
||||
use Button::*;
|
||||
[
|
||||
Back, Screen1, Screen2, Screen3, Screen4, Light, M1, M2, M3, MR, G1, G2, G3, G4, G5, G6, G7, G8, G9, G10,
|
||||
|
||||
Reference in New Issue
Block a user