pub enum Mutability {
Const,
Var,
}
Expand description
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§
Source§impl Clone for Mutability
impl Clone for Mutability
Source§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 moreSource§impl Debug for Mutability
impl Debug for Mutability
Source§impl From<i32> for Mutability
impl From<i32> for Mutability
Source§fn from(value: i32) -> Mutability
fn from(value: i32) -> Mutability
Converts to this type from the input type.
Source§impl From<u32> for Mutability
impl From<u32> for Mutability
Source§fn from(value: u32) -> Mutability
fn from(value: u32) -> Mutability
Converts to this type from the input type.
Source§impl PartialEq for Mutability
impl PartialEq for Mutability
impl Copy for Mutability
impl Eq for Mutability
impl StructuralPartialEq for Mutability
Auto Trait Implementations§
impl Freeze for Mutability
impl RefUnwindSafe for Mutability
impl Send for Mutability
impl Sync for Mutability
impl Unpin for Mutability
impl UnwindSafe for Mutability
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more