Struct wasmer_compiler_near::FunctionAddressMap[][src]

pub struct FunctionAddressMap {
    pub instructions: Vec<InstructionAddressMap>,
    pub start_srcloc: SourceLoc,
    pub end_srcloc: SourceLoc,
    pub body_offset: usize,
    pub body_len: usize,
}

Function and its instructions addresses mappings.

Fields

instructions: Vec<InstructionAddressMap>

Instructions maps. The array is sorted by the InstructionAddressMap::code_offset field.

start_srcloc: SourceLoc

Function start source location (normally declaration).

end_srcloc: SourceLoc

Function end source location.

body_offset: usize

Generated function body offset if applicable, otherwise 0.

body_len: usize

Generated function body length.

Trait Implementations

impl Clone for FunctionAddressMap[src]

impl Debug for FunctionAddressMap[src]

impl Default for FunctionAddressMap[src]

impl<'de> Deserialize<'de> for FunctionAddressMap[src]

impl Eq for FunctionAddressMap[src]

impl PartialEq<FunctionAddressMap> for FunctionAddressMap[src]

impl Serialize for FunctionAddressMap[src]

impl StructuralEq for FunctionAddressMap[src]

impl StructuralPartialEq for FunctionAddressMap[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.