Skip to main content

StackInputCount

Trait StackInputCount 

Source
pub trait StackInputCount<I> {
    // Required method
    fn input_count(instruction: &I) -> Result<InputCount>;
}
Expand description

Count metadata for a component/instruction pair using crate::StackBatch.

Components describe the count source; vihaco performs all stack operations. This belongs to the component so external instruction vocabularies are usable.

Required Methods§

Source

fn input_count(instruction: &I) -> Result<InputCount>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§