Trait wasmer_compiler::types::section::CustomSectionLike

source ·
pub trait CustomSectionLike<'a> {
    type Relocations: RelocationLike;

    // Required methods
    fn protection(&self) -> CustomSectionProtection;
    fn bytes(&self) -> &[u8] ;
    fn relocations(&'a self) -> &[Self::Relocations];
}
Expand description

Any struct that acts like a CustomSection.

Required Associated Types§

Required Methods§

source

fn protection(&self) -> CustomSectionProtection

source

fn bytes(&self) -> &[u8]

source

fn relocations(&'a self) -> &[Self::Relocations]

Implementors§