openvm_transpiler

Trait FromElf

Source
pub trait FromElf {
    type ElfContext;

    // Required method
    fn from_elf(
        elf: Elf,
        ctx: Self::ElfContext,
    ) -> Result<Self, TranspilerError>
       where Self: Sized;
}

Required Associated Types§

Required Methods§

Source

fn from_elf(elf: Elf, ctx: Self::ElfContext) -> Result<Self, TranspilerError>
where Self: Sized,

Implementations on Foreign Types§

Source§

impl<F: PrimeField32> FromElf for VmExe<F>

Source§

type ElfContext = Transpiler<F>

Source§

fn from_elf( elf: Elf, transpiler: Self::ElfContext, ) -> Result<Self, TranspilerError>

Implementors§