pub struct DiagnosticRecorderConfig {
pub every: usize,
pub record_iteration_diagnostics: bool,
pub record_frame_summaries: bool,
pub record_raw_stack_stats: bool,
pub record_coverage: bool,
pub record_object_snapshots: bool,
pub record_pupil_snapshots: bool,
pub snapshot_every: usize,
}Expand description
Controls which diagnostics a DiagnosticRecorder captures and how often.
Fields§
§every: usizeIteration-recording frequency; zero is normalized to one by the recorder.
record_iteration_diagnostics: boolRecord convergence scalars at the selected frequency.
record_frame_summaries: boolRecord predicted-versus-measured metrics for every acquisition frame.
record_raw_stack_stats: boolRecord raw measured-intensity statistics once at run start.
record_coverage: boolRecord model Fourier coverage once at run start.
record_object_snapshots: boolRetain owned object amplitude and phase snapshots.
record_pupil_snapshots: boolRetain owned pupil amplitude and phase snapshots.
snapshot_every: usizeSnapshot frequency; zero is normalized to one.
Trait Implementations§
Source§impl Clone for DiagnosticRecorderConfig
impl Clone for DiagnosticRecorderConfig
Source§fn clone(&self) -> DiagnosticRecorderConfig
fn clone(&self) -> DiagnosticRecorderConfig
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 moreSource§impl Debug for DiagnosticRecorderConfig
impl Debug for DiagnosticRecorderConfig
Auto Trait Implementations§
impl Freeze for DiagnosticRecorderConfig
impl RefUnwindSafe for DiagnosticRecorderConfig
impl Send for DiagnosticRecorderConfig
impl Sync for DiagnosticRecorderConfig
impl Unpin for DiagnosticRecorderConfig
impl UnsafeUnpin for DiagnosticRecorderConfig
impl UnwindSafe for DiagnosticRecorderConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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