[][src]Struct lucet_module_data::FunctionSpec

#[repr(C)]
pub struct FunctionSpec { /* fields omitted */ }

Methods

impl FunctionSpec[src]

pub fn new(
    code_addr: u64,
    code_len: u32,
    traps_addr: u64,
    traps_len: u64
) -> Self
[src]

pub fn ptr(&self) -> FunctionPointer[src]

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

pub fn traps_len(&self) -> u64[src]

pub fn contains(&self, addr: u64) -> bool[src]

pub fn relative_addr(&self, addr: u64) -> Option<u32>[src]

pub fn traps(&self) -> Option<TrapManifest>[src]

Trait Implementations

impl Clone for FunctionSpec[src]

impl Debug for FunctionSpec[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> Same<T> for T

type Output = T

Should always be Self