pub struct ValidatedWorkerModule {
pub byte_len: usize,
pub memory: MemoryContract,
pub alloc_export: FunctionContract,
pub dealloc_export: FunctionContract,
pub invoke_export: FunctionContract,
pub imports: Vec<HostcallImport>,
}Fields§
§byte_len: usize§memory: MemoryContract§alloc_export: FunctionContract§dealloc_export: FunctionContract§invoke_export: FunctionContract§imports: Vec<HostcallImport>Trait Implementations§
Source§impl Clone for ValidatedWorkerModule
impl Clone for ValidatedWorkerModule
Source§fn clone(&self) -> ValidatedWorkerModule
fn clone(&self) -> ValidatedWorkerModule
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 ValidatedWorkerModule
impl Debug for ValidatedWorkerModule
impl Eq for ValidatedWorkerModule
Source§impl PartialEq for ValidatedWorkerModule
impl PartialEq for ValidatedWorkerModule
impl StructuralPartialEq for ValidatedWorkerModule
Auto Trait Implementations§
impl Freeze for ValidatedWorkerModule
impl RefUnwindSafe for ValidatedWorkerModule
impl Send for ValidatedWorkerModule
impl Sync for ValidatedWorkerModule
impl Unpin for ValidatedWorkerModule
impl UnsafeUnpin for ValidatedWorkerModule
impl UnwindSafe for ValidatedWorkerModule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.