Enum wasmedge_sdk::Mutability
pub enum Mutability {
Const,
Var,
}
Expand description
Parses in-memory bytes as either the WebAssembly Text format, or a binary WebAssembly module Defines the mutability property of WasmEdge Global variables.
Mutability
determines the mutability property of a WasmEdge Global variable is either mutable or immutable.
Variants§
Trait Implementations§
§impl Clone for Mutability
impl Clone for Mutability
§fn clone(&self) -> Mutability
fn clone(&self) -> Mutability
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for Mutability
impl Debug for Mutability
§impl From<i32> for Mutability
impl From<i32> for Mutability
§fn from(value: i32) -> Mutability
fn from(value: i32) -> Mutability
Converts to this type from the input type.
§impl From<u32> for Mutability
impl From<u32> for Mutability
§fn from(value: u32) -> Mutability
fn from(value: u32) -> Mutability
Converts to this type from the input type.
§impl PartialEq<Mutability> for Mutability
impl PartialEq<Mutability> for Mutability
§fn eq(&self, other: &Mutability) -> bool
fn eq(&self, other: &Mutability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.