[][src]Enum metered_wasmi::isa::Reloc

pub enum Reloc {
    Br {
        pc: u32,
    },
    BrTable {
        pc: u32,
        idx: usize,
    },
}

A relocation entry that specifies.

Variants

Br

Patch the destination of the branch instruction (br, br_eqz, br_nez) at the specified pc.

Fields of Br

pc: u32
BrTable

Patch the specified destination index inside of br_table instruction at the specified pc.

Fields of BrTable

pc: u32idx: usize

Trait Implementations

impl PartialEq<Reloc> for Reloc[src]

impl Clone for Reloc[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Eq for Reloc[src]

impl Copy for Reloc[src]

impl Debug for Reloc[src]

Auto Trait Implementations

impl Send for Reloc

impl Unpin for Reloc

impl Sync for Reloc

impl RefUnwindSafe for Reloc

impl UnwindSafe for Reloc

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]