pub struct AleConfig {
pub random_seed: i32,
pub display_screen: bool,
pub sound: bool,
pub color_averaging: bool,
pub frame_skip: i32,
pub repeat_action_probability: f32,
pub record_screen_dir: Option<PathBuf>,
pub difficulty_setting: i32,
}Fields§
§random_seed: i32§display_screen: bool§sound: bool§color_averaging: bool§frame_skip: i32§repeat_action_probability: f32§record_screen_dir: Option<PathBuf>§difficulty_setting: i32Trait Implementations§
Auto Trait Implementations§
impl Freeze for AleConfig
impl RefUnwindSafe for AleConfig
impl Send for AleConfig
impl Sync for AleConfig
impl Unpin for AleConfig
impl UnwindSafe for AleConfig
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more