wasmer_types::compilation::section

Trait 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§