Trait come::backend::riscv::from_ir::HasSize

source ·
pub trait HasSize {
    // Required method
    fn size(&self, ctx: &Context) -> usize;
}
Expand description

Implement by the data_type::Type struct for calculating the size of a type.

Required Methods§

source

fn size(&self, ctx: &Context) -> usize

Implementors§