pub struct BugToggles {
default_enabled: bool,
overrides: Vec<(&'static str, bool)>,
}Expand description
Resolved per-run bug toggles consulted by combat code.
Fields§
§default_enabled: bool§overrides: Vec<(&'static str, bool)>Implementations§
Trait Implementations§
Source§impl Clone for BugToggles
impl Clone for BugToggles
Source§fn clone(&self) -> BugToggles
fn clone(&self) -> BugToggles
Returns a duplicate of the value. Read more
1.0.0 · 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 BugToggles
impl Debug for BugToggles
Auto Trait Implementations§
impl Freeze for BugToggles
impl RefUnwindSafe for BugToggles
impl Send for BugToggles
impl Sync for BugToggles
impl Unpin for BugToggles
impl UnsafeUnpin for BugToggles
impl UnwindSafe for BugToggles
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