pub struct Visualizer {
pub snapshots: Vec<String>,
/* private fields */
}Fields§
§snapshots: Vec<String>names of the snapshots
Implementations§
Source§impl Visualizer
impl Visualizer
Source§impl Visualizer
impl Visualizer
pub fn incremental_save(&mut self, name: String, value: Value) -> Result<()>
Sourcepub fn snapshot_combined(
&mut self,
name: String,
fusion_algorithms: Vec<&dyn FusionVisualizer>,
) -> Result<()>
pub fn snapshot_combined( &mut self, name: String, fusion_algorithms: Vec<&dyn FusionVisualizer>, ) -> Result<()>
append another snapshot of the fusion type, and also update the file in case
Sourcepub fn snapshot(
&mut self,
name: String,
fusion_algorithm: &impl FusionVisualizer,
) -> Result<()>
pub fn snapshot( &mut self, name: String, fusion_algorithm: &impl FusionVisualizer, ) -> Result<()>
append another snapshot of the fusion type, and also update the file in case
pub fn snapshot_combined_value( &mut self, name: String, values: Vec<Value>, ) -> Result<()>
pub fn snapshot_value(&mut self, name: String, value: Value) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Visualizer
impl RefUnwindSafe for Visualizer
impl Send for Visualizer
impl Sync for Visualizer
impl Unpin for Visualizer
impl UnwindSafe for Visualizer
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§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> 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