pub struct GlobalInst {
pub globaltype: GlobalType,
pub value: Value,
}Fields§
§globaltype: GlobalType§value: ValueTrait Implementations§
Source§impl Clone for GlobalInst
impl Clone for GlobalInst
Source§fn clone(&self) -> GlobalInst
fn clone(&self) -> GlobalInst
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GlobalInst
impl Debug for GlobalInst
Source§impl PartialEq for GlobalInst
impl PartialEq for GlobalInst
Source§fn eq(&self, other: &GlobalInst) -> bool
fn eq(&self, other: &GlobalInst) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GlobalInst
Auto Trait Implementations§
impl Freeze for GlobalInst
impl RefUnwindSafe for GlobalInst
impl Send for GlobalInst
impl Sync for GlobalInst
impl Unpin for GlobalInst
impl UnsafeUnpin for GlobalInst
impl UnwindSafe for GlobalInst
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