pub struct ModuleBinary {
pub wasm: Vec<u8>,
pub spec: ModuleSpec,
}Fields§
§wasm: Vec<u8>§spec: ModuleSpecImplementations§
Trait Implementations§
Source§impl Artifact for ModuleBinary
impl Artifact for ModuleBinary
Source§impl Clone for ModuleBinary
impl Clone for ModuleBinary
Source§fn clone(&self) -> ModuleBinary
fn clone(&self) -> ModuleBinary
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 ModuleBinary
impl Debug for ModuleBinary
Source§impl<'de> Deserialize<'de> for ModuleBinary
impl<'de> Deserialize<'de> for ModuleBinary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ModuleBinary> for Artifacts
impl From<ModuleBinary> for Artifacts
Source§fn from(value: ModuleBinary) -> Self
fn from(value: ModuleBinary) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ModuleBinary
impl PartialEq for ModuleBinary
Source§fn eq(&self, other: &ModuleBinary) -> bool
fn eq(&self, other: &ModuleBinary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModuleBinary
impl Serialize for ModuleBinary
impl StructuralPartialEq for ModuleBinary
Auto Trait Implementations§
impl Freeze for ModuleBinary
impl RefUnwindSafe for ModuleBinary
impl Send for ModuleBinary
impl Sync for ModuleBinary
impl Unpin for ModuleBinary
impl UnsafeUnpin for ModuleBinary
impl UnwindSafe for ModuleBinary
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