pub struct FunctionSignature {
pub arguments: Vec<AbiParam>,
pub returns: AbiType,
}
Expand description
A function signature that allows the code generator to verify function calls and references.
Fields§
§arguments: Vec<AbiParam>
A list of arguments in the function signature, which are checked at compile time to verify their validity.
returns: AbiType
A return value of the function. Defaults to void
.
Implementations§
Auto Trait Implementations§
impl Freeze for FunctionSignature
impl RefUnwindSafe for FunctionSignature
impl Send for FunctionSignature
impl Sync for FunctionSignature
impl Unpin for FunctionSignature
impl UnwindSafe for FunctionSignature
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