pub trait InstructionRefMapper {
type Output<'i>;
// Required method
fn apply<'i>(
self,
instruction: &'i impl ManifestInstruction,
) -> Self::Output<'i>;
}
Expand description
This trait is intended to reduce the boilerplate of defining actions which can be applied to all instructions in a set.
Required Associated Types§
Required Methods§
fn apply<'i>( self, instruction: &'i impl ManifestInstruction, ) -> Self::Output<'i>
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.