Skip to main content

EngineToggle

Trait EngineToggle 

Source
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§

Source

fn enabled(&self) -> bool

Source

fn set_enabled(&mut self, v: bool)

Implementors§