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 ret_kind: ReturnKind,
}
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.
ret_kind: ReturnKind
How many values can this function return?
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 moreAuto Trait Implementations§
impl RefUnwindSafe for ExternalSig
impl Send for ExternalSig
impl Sync for ExternalSig
impl Unpin for ExternalSig
impl UnwindSafe for ExternalSig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more