[][src]Struct wasm_graph::Func

pub struct Func {
    pub type_ref: EntryRef<Type>,
    pub origin: ImportedOrDeclared<FuncBody>,
}

Function declaration.

As with other instances, functions can be either imported or declared within the module - origin field is handling this.

Fields

type_ref: EntryRef<Type>

Function signature/type reference.

origin: ImportedOrDeclared<FuncBody>

Where this function comes from (imported or declared).

Trait Implementations

impl Debug for Func[src]

Auto Trait Implementations

impl !Send for Func

impl Unpin for Func

impl !Sync for Func

impl !UnwindSafe for Func

impl !RefUnwindSafe for Func

Blanket Implementations

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

impl<T> From<T> for 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]