pub struct AlgorithmSnapshot {
pub name: String,
pub array_state: Vec<i32>,
pub telemetry: Telemetry,
pub is_complete: bool,
pub metrics: MetricsSnapshot,
}
Expand description
Snapshot of a single algorithm’s state
Fields§
§name: String
Algorithm name
array_state: Vec<i32>
Current array state
telemetry: Telemetry
Telemetry data
is_complete: bool
Whether algorithm is complete
metrics: MetricsSnapshot
Metrics snapshot
Trait Implementations§
Source§impl Clone for AlgorithmSnapshot
impl Clone for AlgorithmSnapshot
Source§fn clone(&self) -> AlgorithmSnapshot
fn clone(&self) -> AlgorithmSnapshot
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 moreAuto Trait Implementations§
impl Freeze for AlgorithmSnapshot
impl RefUnwindSafe for AlgorithmSnapshot
impl Send for AlgorithmSnapshot
impl Sync for AlgorithmSnapshot
impl Unpin for AlgorithmSnapshot
impl UnwindSafe for AlgorithmSnapshot
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