trait CoordinateExtensions: Sized {
// Required method
fn apply_move(&self, mv: &DirectionalButton) -> Option<Self>;
}
Expand description
Helpers for moving within a keypad
Required Methods§
fn apply_move(&self, mv: &DirectionalButton) -> Option<Self>
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl CoordinateExtensions for (u8, u8)
impl CoordinateExtensions for (u8, u8)
source§fn apply_move(&self, mv: &DirectionalButton) -> Option<Self>
fn apply_move(&self, mv: &DirectionalButton) -> Option<Self>
The coordinate after pressing a specific direction key