[][src]Struct lucet_module_data::FunctionIndex

pub struct FunctionIndex(_);

FunctionIndex is an identifier for a function, imported, exported, or external. The space of FunctionIndex is shared for all of these, so FunctionIndex(N) may identify exported function #2, FunctionIndex(N + 1) may identify an internal function, and FunctionIndex(N + 2) may identify an imported function.

Methods

impl FunctionIndex[src]

pub fn from_u32(idx: u32) -> FunctionIndex[src]

pub fn as_u32(&self) -> u32[src]

Trait Implementations

impl Clone for FunctionIndex[src]

impl Copy for FunctionIndex[src]

impl Eq for FunctionIndex[src]

impl PartialEq<FunctionIndex> for FunctionIndex[src]

impl Debug for FunctionIndex[src]

impl Hash for FunctionIndex[src]

impl Serialize for FunctionIndex[src]

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

Auto Trait Implementations

Blanket Implementations

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

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> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self