Struct mun_abi::FunctionPrototype
source · #[repr(C)]pub struct FunctionPrototype<'a> {
pub name: *const c_char,
pub signature: FunctionSignature<'a>,
}
Expand description
Represents a function prototype. A function prototype contains the name, type signature, but not an implementation.
Fields§
§name: *const c_char
Function name
signature: FunctionSignature<'a>
The type signature of the function
Implementations§
Trait Implementations§
source§impl<'a> Clone for FunctionPrototype<'a>
impl<'a> Clone for FunctionPrototype<'a>
source§fn clone(&self) -> FunctionPrototype<'a>
fn clone(&self) -> FunctionPrototype<'a>
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 more