move ported cpp_shared resources

This commit is contained in:
Henry Schimke
2023-03-08 18:51:48 -06:00
parent 111baaab81
commit 5593a8f8f7
14 changed files with 38 additions and 17 deletions

View File

@@ -0,0 +1,14 @@
#[derive(PartialEq, Eq, Clone, Copy, Debug)]
pub enum Direction {
Left = -1,
Right = 1,
}
impl From<Direction> for i32 {
fn from(value: Direction) -> Self {
match value {
Direction::Left => -1,
Direction::Right => 1,
}
}
}