Struct wasmtime_environ::MemoryPlan [−][src]
pub struct MemoryPlan {
pub memory: Memory,
pub style: MemoryStyle,
pub offset_guard_size: u64,
}A WebAssembly linear memory description along with our chosen style for implementing it.
Fields
memory: MemoryThe WebAssembly linear memory description.
style: MemoryStyleOur chosen implementation style.
offset_guard_size: u64Our chosen offset-guard size.
Implementations
impl MemoryPlan[src]
impl MemoryPlan[src]pub fn for_memory(memory: Memory, tunables: &Tunables) -> Self[src]
Draw up a plan for implementing a Memory.
Trait Implementations
impl Clone for MemoryPlan[src]
impl Clone for MemoryPlan[src]fn clone(&self) -> MemoryPlan[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<'de> Deserialize<'de> for MemoryPlan[src]
impl<'de> Deserialize<'de> for MemoryPlan[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Hash for MemoryPlan[src]
impl Hash for MemoryPlan[src]impl Serialize for MemoryPlan[src]
impl Serialize for MemoryPlan[src]Auto Trait Implementations
impl RefUnwindSafe for MemoryPlan
impl Send for MemoryPlan
impl Sync for MemoryPlan
impl Unpin for MemoryPlan
impl UnwindSafe for MemoryPlan
Blanket Implementations
impl<T> CallHasher for T where
T: Hash, [src]
impl<T> CallHasher for T where
T: Hash, [src]impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,