pub struct TrainerConfig {
pub use4x_fonts: bool,
pub change_fov: bool,
pub fov_width: u32,
pub fov_height: u32,
pub make_ghosts_opaque: bool,
pub match_ghost_sounds_to_character: bool,
pub enable_logging: bool,
pub disable_direct_input: bool,
pub enable_custom_controls: bool,
pub hide_blinking_r: bool,
pub show_replay_speed: bool,
}Fields§
§use4x_fonts: bool§change_fov: bool§fov_width: u32§fov_height: u32§make_ghosts_opaque: bool§match_ghost_sounds_to_character: bool§enable_logging: bool§disable_direct_input: bool§enable_custom_controls: bool§hide_blinking_r: bool§show_replay_speed: boolImplementations§
Trait Implementations§
Source§impl Clone for TrainerConfig
impl Clone for TrainerConfig
Source§fn clone(&self) -> TrainerConfig
fn clone(&self) -> TrainerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrainerConfig
impl Debug for TrainerConfig
Source§impl Default for TrainerConfig
impl Default for TrainerConfig
Source§impl<'de> Deserialize<'de> for TrainerConfigwhere
TrainerConfig: Default,
impl<'de> Deserialize<'de> for TrainerConfigwhere
TrainerConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TrainerConfig
impl RefUnwindSafe for TrainerConfig
impl Send for TrainerConfig
impl Sync for TrainerConfig
impl Unpin for TrainerConfig
impl UnsafeUnpin for TrainerConfig
impl UnwindSafe for TrainerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more