Struct GrowthDecision
pub struct GrowthDecision {
pub completed: u64,
pub name: String,
pub side: Side,
pub reason: GrowthReason,
pub live: Distribution,
}Expand description
One growth decision the replay took, in the order it took them — the
record the study loop turns into a StudyEvent and an atune run
line, and the doctor turns into a finding. Carries the parameter name
(this is an in-process record, not the Copy event; §13.2’s name-sorted
index is derived by the emitter).
Fields§
§completed: u64How many trials had completed when the decision was taken.
name: StringThe parameter it concerns.
side: SideThe side it concerns.
reason: GrowthReasonWhat was decided (§7’s GrowthReason, all seven).
live: DistributionThe live distribution after the decision — what a terminal line
renders. Bounds stay out of the StudyEvent (§13.2); a decision
record is exactly where they do belong.
Trait Implementations§
§impl Clone for GrowthDecision
impl Clone for GrowthDecision
§fn clone(&self) -> GrowthDecision
fn clone(&self) -> GrowthDecision
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 more§impl Debug for GrowthDecision
impl Debug for GrowthDecision
§impl PartialEq for GrowthDecision
impl PartialEq for GrowthDecision
impl StructuralPartialEq for GrowthDecision
Auto Trait Implementations§
impl Freeze for GrowthDecision
impl RefUnwindSafe for GrowthDecision
impl Send for GrowthDecision
impl Sync for GrowthDecision
impl Unpin for GrowthDecision
impl UnsafeUnpin for GrowthDecision
impl UnwindSafe for GrowthDecision
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