pub trait SizeConfig {
    // Required methods
    fn size_of_value(&self, ty: ValType) -> u8;
    fn size_of_function_activation(
        &self,
        locals: &PrefixSumVec<ValType, u32>
    ) -> u64;
}
Expand description

Configure size of various values that may end up on the stack.

Required Methods§

Implementations on Foreign Types§

source§

impl<'a, C: SizeConfig + ?Sized> SizeConfig for Arc<C>

source§

impl<'a, C: SizeConfig + ?Sized> SizeConfig for &'a mut C

source§

impl<'a, C: SizeConfig + ?Sized> SizeConfig for Box<C>

source§

impl<'a, C: SizeConfig + ?Sized> SizeConfig for &'a C

Implementors§