Trait StepType

Source
pub trait StepType: Sized + Sealed {
    // Required method
    fn to_value(s: Step<Self>) -> StepValue;
}
Expand description

A trait to convert Step<Run> and Step<Use> to StepValue.

Required Methods§

Source

fn to_value(s: Step<Self>) -> StepValue

Converts a step to its value representation.

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§