pub struct Module<State = Unverified> { /* private fields */ }Expand description
Explicit constant pool, function table, and entry function, with typestate.
Implementations§
Source§impl Module<Unverified>
impl Module<Unverified>
Source§impl Module<Verified>
impl Module<Verified>
pub fn certificate(&self, function: FunctionId) -> Option<&Certificate>
Sourcepub fn verification_bytes(&self) -> usize
pub fn verification_bytes(&self) -> usize
Heap bytes retained by this module’s verification certificates.
Trait Implementations§
impl<State: Eq> Eq for Module<State>
impl<State: PartialEq> StructuralPartialEq for Module<State>
Auto Trait Implementations§
impl<State> Freeze for Module<State>
impl<State> RefUnwindSafe for Module<State>where
State: RefUnwindSafe,
impl<State> Send for Module<State>where
State: Send,
impl<State> Sync for Module<State>where
State: Sync,
impl<State> Unpin for Module<State>where
State: Unpin,
impl<State> UnsafeUnpin for Module<State>
impl<State> UnwindSafe for Module<State>where
State: UnwindSafe,
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