[][src]Trait canonical_host::MemoryHolder

pub trait MemoryHolder {
    pub fn set_memory(&mut self, memory: MemoryRef);
pub fn memory(&self) -> Result<MemoryRef, Trap>; }

Trait required to set a MemoryRef

Required methods

pub fn set_memory(&mut self, memory: MemoryRef)[src]

Set MemoryRef

pub fn memory(&self) -> Result<MemoryRef, Trap>[src]

Get access to the internal [MemoryRef]

Loading content...

Implementors

Loading content...