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 Freeze for ExternalSig
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