pub trait CostInfoProvider {
    // Required method
    fn type_size(&self, ty: &ConcreteTypeId) -> usize;
}
Expand description

Trait for providing extra information required for calculating costs for a specific libfunc invocation.

Required Methods§

source

fn type_size(&self, ty: &ConcreteTypeId) -> usize

Provides the sizes of types.

Implementors§