Struct fce_wit_interfaces::FCEWITInterfaces [−][src]
pub struct FCEWITInterfaces<'a> { /* fields omitted */ }
Implementations
impl<'a> FCEWITInterfaces<'a>
[src]
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]
&self,
import_type: CoreFunctionType
) -> Option<&Vec<(ImportName<'a>, ImportNamespace<'a>)>>
pub fn imports_by_type_r(
&self,
import_type: CoreFunctionType
) -> Result<&Vec<(ImportName<'a>, ImportNamespace<'a>)>, FCEWITInterfacesError>
[src]
&self,
import_type: CoreFunctionType
) -> Result<&Vec<(ImportName<'a>, ImportNamespace<'a>)>, FCEWITInterfacesError>
pub fn adapters(
&self
) -> impl Iterator<Item = (&AdapterFunctionType, &Vec<Instruction>)>
[src]
&self
) -> impl Iterator<Item = (&AdapterFunctionType, &Vec<Instruction>)>
pub fn adapter_by_type(
&self,
adapter_type: AdapterFunctionType
) -> Option<&Vec<Instruction>>
[src]
&self,
adapter_type: AdapterFunctionType
) -> Option<&Vec<Instruction>>
pub fn adapter_by_type_r(
&self,
adapter_type: AdapterFunctionType
) -> Result<&Vec<Instruction>, FCEWITInterfacesError>
[src]
&self,
adapter_type: AdapterFunctionType
) -> Result<&Vec<Instruction>, FCEWITInterfacesError>
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]
&self,
export_type: CoreFunctionType
) -> Result<&Vec<ExportName<'a>>, FCEWITInterfacesError>
pub fn implementations(
&self
) -> impl Iterator<Item = (&AdapterFunctionType, &CoreFunctionType)>
[src]
&self
) -> impl Iterator<Item = (&AdapterFunctionType, &CoreFunctionType)>
pub fn adapter_types_by_core_type(
&self,
core_function_type: CoreFunctionType
) -> Option<&Vec<AdapterFunctionType>>
[src]
&self,
core_function_type: CoreFunctionType
) -> Option<&Vec<AdapterFunctionType>>
pub fn core_types_by_adapter_type(
&self,
adapter_function_type: AdapterFunctionType
) -> Option<&Vec<CoreFunctionType>>
[src]
&self,
adapter_function_type: AdapterFunctionType
) -> Option<&Vec<CoreFunctionType>>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for FCEWITInterfaces<'a>
impl<'a> !RefUnwindSafe for FCEWITInterfaces<'a>
impl<'a> !Send for FCEWITInterfaces<'a>
impl<'a> !Send for FCEWITInterfaces<'a>
impl<'a> !Sync for FCEWITInterfaces<'a>
impl<'a> !Sync for FCEWITInterfaces<'a>
impl<'a> Unpin for FCEWITInterfaces<'a>
impl<'a> Unpin for FCEWITInterfaces<'a>
impl<'a> UnwindSafe for FCEWITInterfaces<'a>
impl<'a> UnwindSafe for FCEWITInterfaces<'a>