#[non_exhaustive]pub struct MatchDetailedStatistics {
pub tape_max: [[u8; 30]; 2],
pub heat_position: [[u32; 30]; 2],
}Expand description
Detailed statistics for a match between two BF Joust warriors.
This is useful for behavior visualizations and similar programs.
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.tape_max: [[u8; 30]; 2]The maximum absolute distance from 0 that each cell reaches on average when the program leaves a cell. This helps show its decoy layout.
The first array is the left warrior, and the second array is the right warrior.
heat_position: [[u32; 30]; 2]The number of cycles each program spends on each cell.
The first array is the left warrior, and the second array is the right warrior.
Trait Implementations§
Source§impl Clone for MatchDetailedStatistics
impl Clone for MatchDetailedStatistics
Source§fn clone(&self) -> MatchDetailedStatistics
fn clone(&self) -> MatchDetailedStatistics
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 MatchDetailedStatistics
impl Debug for MatchDetailedStatistics
Source§impl Hash for MatchDetailedStatistics
impl Hash for MatchDetailedStatistics
impl Copy for MatchDetailedStatistics
Auto Trait Implementations§
impl Freeze for MatchDetailedStatistics
impl RefUnwindSafe for MatchDetailedStatistics
impl Send for MatchDetailedStatistics
impl Sync for MatchDetailedStatistics
impl Unpin for MatchDetailedStatistics
impl UnwindSafe for MatchDetailedStatistics
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