ExpandableExt

Trait ExpandableExt 

Source
pub trait ExpandableExt: Expandable {
    // Required method
    fn expand_frames<In>(
        input: In,
        expand_frame: impl FnMut(In) -> <Self::FrameToken as MappableFrame>::Frame<In>,
    ) -> Self;
}

Required Methods§

Source

fn expand_frames<In>( input: In, expand_frame: impl FnMut(In) -> <Self::FrameToken as MappableFrame>::Frame<In>, ) -> Self

Given a value of type In, expand it to generate a value of type Self frame by frame, using a function from In -> Frame<In>

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§