pub struct ModulePC(/* private fields */);Expand description
A Wasm bytecode offset relative to the start of a core Wasm module binary.
In the guest-debug system, PCs are always module-relative because the debugger presents a core-Wasm view of the world where components are deconstructed into individual core Wasm modules.
For standalone (non-component) modules, ModulePC and
ComponentPC values are numerically identical.
Implementations§
Trait Implementations§
Source§impl Ord for ModulePC
impl Ord for ModulePC
Source§impl PartialOrd for ModulePC
impl PartialOrd for ModulePC
impl Copy for ModulePC
impl Eq for ModulePC
impl StructuralPartialEq for ModulePC
Auto Trait Implementations§
impl Freeze for ModulePC
impl RefUnwindSafe for ModulePC
impl Send for ModulePC
impl Sync for ModulePC
impl Unpin for ModulePC
impl UnwindSafe for ModulePC
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.