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,
}
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.
Trait Implementations
sourceimpl Clone for ExternalSig
impl Clone for ExternalSig
sourcefn clone(&self) -> ExternalSig
fn clone(&self) -> ExternalSig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for ExternalSig
impl Send for ExternalSig
impl Sync for ExternalSig
impl Unpin for ExternalSig
impl UnwindSafe for ExternalSig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more