pub enum GlobalConstValue {
I32(i32),
I64(i64),
F32(u32),
F64(u64),
V128(u128),
}Expand description
A global’s constant value, known at compile time.
Variants§
Trait Implementations§
Source§impl Clone for GlobalConstValue
impl Clone for GlobalConstValue
Source§fn clone(&self) -> GlobalConstValue
fn clone(&self) -> GlobalConstValue
Returns a duplicate 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 moreimpl Copy for GlobalConstValue
Auto Trait Implementations§
impl Freeze for GlobalConstValue
impl RefUnwindSafe for GlobalConstValue
impl Send for GlobalConstValue
impl Sync for GlobalConstValue
impl Unpin for GlobalConstValue
impl UnwindSafe for GlobalConstValue
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