pub enum WatModuleField {
Func(WatFunc),
Import(WatImport),
Export(WatExport),
Type(WatType),
Table(WatTable),
Memory(WatMemory),
Global(WatGlobal),
}Expand description
Wat 模块字段
Variants§
Func(WatFunc)
Import(WatImport)
Export(WatExport)
Type(WatType)
Table(WatTable)
Memory(WatMemory)
Global(WatGlobal)
Trait Implementations§
Source§impl Clone for WatModuleField
impl Clone for WatModuleField
Source§fn clone(&self) -> WatModuleField
fn clone(&self) -> WatModuleField
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 WatModuleField
impl Debug for WatModuleField
Source§impl ToSource for WatModuleField
impl ToSource for WatModuleField
Source§fn to_source(&self, buffer: &mut SourceBuffer)
fn to_source(&self, buffer: &mut SourceBuffer)
Writes the source code representation of this type to the provided buffer.
Source§fn to_source_string(&self) -> String
fn to_source_string(&self) -> String
Converts this type to a source code string.
Auto Trait Implementations§
impl Freeze for WatModuleField
impl RefUnwindSafe for WatModuleField
impl Send for WatModuleField
impl Sync for WatModuleField
impl Unpin for WatModuleField
impl UnwindSafe for WatModuleField
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