This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
macro_rules! create_input_tracker { | |
($name: ident, $( $element: ident: $ty: ty ; $text: tt ) , +) => { | |
/// A simple combination of input trackers. | |
/// | |
/// You can use this as your [`Game::Input`] directly! | |
/// | |
/// [`Game::Input`]: ../trait.Game.html#associatedtype.Input | |
pub struct $name { | |
$ ( | |
$element: $ty, |