pub trait CollapsibleVizExt: Collapsible{
// Required methods
fn collapse_frames_v<Out>(
self,
collapse_frame: impl FnMut(<Self::FrameToken as MappableFrame>::Frame<Out>) -> Out,
) -> (Out, Viz)
where Out: Display;
fn try_collapse_frames_v<Out, E: Display>(
self,
collapse_frame: impl FnMut(<Self::FrameToken as MappableFrame>::Frame<Out>) -> Result<Out, E>,
) -> (Result<Out, E>, Viz)
where Out: Display;
}
Expand description
The ability to collapse a value into some output type, frame by frame
Required Methods§
fn collapse_frames_v<Out>(
self,
collapse_frame: impl FnMut(<Self::FrameToken as MappableFrame>::Frame<Out>) -> Out,
) -> (Out, Viz)where
Out: Display,
fn try_collapse_frames_v<Out, E: Display>(
self,
collapse_frame: impl FnMut(<Self::FrameToken as MappableFrame>::Frame<Out>) -> Result<Out, E>,
) -> (Result<Out, E>, Viz)where
Out: Display,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.