[−][src]Struct fce_wit_interfaces::FCEWITInterfaces
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]
&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>
[src]
impl<'a> !Send for FCEWITInterfaces<'a>
[src]
impl<'a> !Sync for FCEWITInterfaces<'a>
[src]
impl<'a> Unpin for FCEWITInterfaces<'a>
[src]
impl<'a> UnwindSafe for FCEWITInterfaces<'a>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,