Type Definition move_lang::compiled_unit::CompiledUnit

source ·
pub type CompiledUnit = CompiledUnitEnum<NamedCompiledModule, NamedCompiledScript>;

Implementations§

source§

impl CompiledUnit

source

pub fn name(&self) -> Symbol

source

pub fn serialize(&self) -> Vec<u8>

source

pub fn serialize_debug(self) -> Vec<u8>

source

pub fn serialize_source_map(&self) -> Vec<u8>