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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more