pub trait EngineToggle {
// Required methods
fn enabled(&self) -> bool;
fn set_enabled(&mut self, v: bool);
}Expand description
Trait for engine configs that can be toggled with a bool shorthand.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".