pub(crate) struct CompareArgs {
pub spec: String,
pub timeline: bool,
pub resources: bool,
pub timeline_duration: u32,
pub duration: u32,
pub iterations: u32,
pub trace: bool,
pub race: Option<String>,
pub encounter_fixture: Option<EncounterFixture>,
pub no_bugs: bool,
pub simc_debug: bool,
}Fields§
§spec: StringSpec slug (e.g. outlaw_rogue, fire_mage).
timeline: boolShow side-by-side cast timeline.
resources: boolShow per-source resource-income comparison.
timeline_duration: u32Seconds of timeline to show (default 30).
duration: u32Fight duration in seconds (default 300).
iterations: u32Number of iterations (default 1 for compare).
trace: boolEnable TRACE-level logging to a file.
race: Option<String>Player race (e.g. orc, troll, human). Defaults to human.
encounter_fixture: Option<EncounterFixture>Run WoW Lab with one of the canonical Phase 8 encounter fixtures.
no_bugs: boolDisable modeled live-game bugs on both sides (SimC bugs=0).
simc_debug: boolRun SimC with debug=1 and retain its log (per-spell static modifiers, buff and cast events).
Trait Implementations§
Source§impl Args for CompareArgs
impl Args for CompareArgs
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl Debug for CompareArgs
impl Debug for CompareArgs
Source§impl FromArgMatches for CompareArgs
impl FromArgMatches for CompareArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl TryFrom<&CompareArgs> for RunParameters
impl TryFrom<&CompareArgs> for RunParameters
Source§type Error = RunParametersError
type Error = RunParametersError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for CompareArgs
impl RefUnwindSafe for CompareArgs
impl Send for CompareArgs
impl Sync for CompareArgs
impl Unpin for CompareArgs
impl UnsafeUnpin for CompareArgs
impl UnwindSafe for CompareArgs
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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