#[non_exhaustive]pub struct BalanceSettings {
pub tries: Tries,
pub quick: u32,
pub evaluations: u32,
}Expand description
How hard the search works.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.tries: TriesThe full run, which decides “in band”: the stage as authored and the stage found are both played this way.
quick: u32The try count of the search’s own runs, from the same first seed.
evaluations: u32The most runs of the playtest runner the search makes, the first run of the stage as authored among them.
Implementations§
Trait Implementations§
Source§impl Clone for BalanceSettings
impl Clone for BalanceSettings
Source§fn clone(&self) -> BalanceSettings
fn clone(&self) -> BalanceSettings
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 moreimpl Copy for BalanceSettings
Source§impl Debug for BalanceSettings
impl Debug for BalanceSettings
Source§impl<'de> Deserialize<'de> for BalanceSettings
impl<'de> Deserialize<'de> for BalanceSettings
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
impl Eq for BalanceSettings
Source§impl JsonSchema for BalanceSettings
impl JsonSchema for BalanceSettings
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for BalanceSettings
impl PartialEq for BalanceSettings
Source§impl Serialize for BalanceSettings
impl Serialize for BalanceSettings
impl StructuralPartialEq for BalanceSettings
Auto Trait Implementations§
impl Freeze for BalanceSettings
impl RefUnwindSafe for BalanceSettings
impl Send for BalanceSettings
impl Sync for BalanceSettings
impl Unpin for BalanceSettings
impl UnsafeUnpin for BalanceSettings
impl UnwindSafe for BalanceSettings
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