[−][src]Enum wasm_graph::Instruction
Instruction.
Some instructions don't reference any entities within the WebAssembly module, while others do. This enum is for tracking references when required.
Variants
Plain(Instruction)
WebAssembly instruction that does not reference any module entities.
Call(EntryRef<Func>)
Call instruction which references the function.
Indirect call instruction which references function type (function signature).
GetGlobal(EntryRef<Global>)
get_global instruction which references the global.
SetGlobal(EntryRef<Global>)
set_global instruction which references the global.
Trait Implementations
Auto Trait Implementations
impl !Send for Instruction
impl Unpin for Instruction
impl !Sync for Instruction
impl !UnwindSafe for Instruction
impl !RefUnwindSafe for Instruction
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,