Struct cranelift_isle::sema::ExternalSig
source · pub struct ExternalSig {
pub func_name: String,
pub full_name: String,
pub param_tys: Vec<TypeId>,
pub ret_tys: Vec<TypeId>,
pub infallible: bool,
pub multi: bool,
}
Expand description
An external function signature.
Fields§
§func_name: String
The name of the external function.
full_name: String
The name of the external function, prefixed with the context trait.
param_tys: Vec<TypeId>
The types of this function signature’s parameters.
ret_tys: Vec<TypeId>
The types of this function signature’s results.
infallible: bool
Whether this signature is infallible or not.
multi: bool
“Multiplicity”: does the function return multiple values (via an iterator)?
Trait Implementations§
source§impl Clone for ExternalSig
impl Clone for ExternalSig
source§fn clone(&self) -> ExternalSig
fn clone(&self) -> ExternalSig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more