Skip to main content

ProcessingProgramViewAlg

Trait ProcessingProgramViewAlg 

Source
pub trait ProcessingProgramViewAlg: ProcessingSorts {
    // Required methods
    fn processing_steps<'a>(
        program: &'a Self::Program,
    ) -> impl Iterator<Item = &'a Self::Step>
       where Self::Step: 'a;
    fn processing_stage(step: &Self::Step) -> ProcessingStage;
}
Expand description

Specifies observation of a reified processing program.

Required Methods§

Source

fn processing_steps<'a>( program: &'a Self::Program, ) -> impl Iterator<Item = &'a Self::Step>
where Self::Step: 'a,

Observes steps in declaration order.

Source

fn processing_stage(step: &Self::Step) -> ProcessingStage

Observes the stage selecting one step.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§