Trait CollapsibleVizExt

Source
pub trait CollapsibleVizExt: Collapsible
where Self: Sized + Display, <Self::FrameToken as MappableFrame>::Frame<()>: Display,
{ // 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§

Source

fn collapse_frames_v<Out>( self, collapse_frame: impl FnMut(<Self::FrameToken as MappableFrame>::Frame<Out>) -> Out, ) -> (Out, Viz)
where Out: Display,

Source

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.

Implementors§