pub trait Controls {
// Required method
fn fit(&self, profile: &TargetProfile) -> Vec<FitProblem>;
}Expand description
A game’s controls as shuyi check --target checks them, by target
(shuyi_cli::GameTools::controls).
Required Methods§
Sourcefn fit(&self, profile: &TargetProfile) -> Vec<FitProblem>
fn fit(&self, profile: &TargetProfile) -> Vec<FitProblem>
Every problem of the game’s controls on the target profile
describes (GameControls::fit).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".