pub struct GlobalType {
pub content: ValueType,
pub mutable: bool,
}
Fields§
§content: ValueType
§mutable: bool
Trait Implementations§
Source§impl Clone for GlobalType
impl Clone for GlobalType
Source§fn clone(&self) -> GlobalType
fn clone(&self) -> GlobalType
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 moreSource§impl Debug for GlobalType
impl Debug for GlobalType
Source§impl Hash for GlobalType
impl Hash for GlobalType
Source§impl Import<GlobalType> for ModuleBuilder
impl Import<GlobalType> for ModuleBuilder
fn import<S, T>(&mut self, module: S, name: T, index: GlobalType) -> ImportIndex
Source§impl PartialEq for GlobalType
impl PartialEq for GlobalType
impl Eq for GlobalType
impl StructuralPartialEq for GlobalType
Auto Trait Implementations§
impl Freeze for GlobalType
impl RefUnwindSafe for GlobalType
impl Send for GlobalType
impl Sync for GlobalType
impl Unpin for GlobalType
impl UnwindSafe for GlobalType
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