[][src]Struct fce_wit_interfaces::FCEWITInterfaces

pub struct FCEWITInterfaces<'a> { /* fields omitted */ }

Implementations

impl<'a> FCEWITInterfaces<'a>[src]

pub fn new(interfaces: Interfaces<'a>) -> Self[src]

pub fn types(&self) -> impl Iterator<Item = &Type>[src]

pub fn record_types(&self) -> impl Iterator<Item = (u64, &Rc<IRecordType>)>[src]

pub fn type_by_idx(&self, idx: u32) -> Option<&Type>[src]

pub fn type_by_idx_r(&self, idx: u32) -> Result<&Type, FCEWITInterfacesError>[src]

pub fn imports(&self) -> impl Iterator<Item = &Import<'_>>[src]

pub fn imports_by_type(
    &self,
    import_type: CoreFunctionType
) -> Option<&Vec<(ImportName<'a>, ImportNamespace<'a>)>>
[src]

pub fn imports_by_type_r(
    &self,
    import_type: CoreFunctionType
) -> Result<&Vec<(ImportName<'a>, ImportNamespace<'a>)>, FCEWITInterfacesError>
[src]

pub fn adapters(
    &self
) -> impl Iterator<Item = (&AdapterFunctionType, &Vec<Instruction>)>
[src]

pub fn adapter_by_type(
    &self,
    adapter_type: AdapterFunctionType
) -> Option<&Vec<Instruction>>
[src]

pub fn adapter_by_type_r(
    &self,
    adapter_type: AdapterFunctionType
) -> Result<&Vec<Instruction>, FCEWITInterfacesError>
[src]

pub fn exports(&self) -> impl Iterator<Item = &Export<'_>>[src]

pub fn exports_by_type(&self, export_type: u32) -> Option<&Vec<ExportName<'a>>>[src]

pub fn exports_by_type_r(
    &self,
    export_type: CoreFunctionType
) -> Result<&Vec<ExportName<'a>>, FCEWITInterfacesError>
[src]

pub fn implementations(
    &self
) -> impl Iterator<Item = (&AdapterFunctionType, &CoreFunctionType)>
[src]

pub fn adapter_types_by_core_type(
    &self,
    core_function_type: CoreFunctionType
) -> Option<&Vec<AdapterFunctionType>>
[src]

pub fn core_types_by_adapter_type(
    &self,
    adapter_function_type: AdapterFunctionType
) -> Option<&Vec<CoreFunctionType>>
[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> From<T> for T[src]

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.