1 2 3 4 5 6 7 8 9 10
use bevy::prelude::*; #[derive(Debug, Clone, Deref, PartialEq, Eq, Resource)] pub struct Ctrl(bool); impl Into<Ctrl> for bool { fn into(self) -> Ctrl { Ctrl(self) } }