Struct move_lang::expansion::ast::FunctionSignature
source · pub struct FunctionSignature {
pub type_parameters: Vec<(Name, AbilitySet)>,
pub parameters: Vec<(Var, Type)>,
pub return_type: Type,
}
Fields§
§type_parameters: Vec<(Name, AbilitySet)>
§parameters: Vec<(Var, Type)>
§return_type: Type
Trait Implementations§
source§impl Clone for FunctionSignature
impl Clone for FunctionSignature
source§fn clone(&self) -> FunctionSignature
fn clone(&self) -> FunctionSignature
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 moresource§impl Debug for FunctionSignature
impl Debug for FunctionSignature
source§impl PartialEq<FunctionSignature> for FunctionSignature
impl PartialEq<FunctionSignature> for FunctionSignature
source§fn eq(&self, other: &FunctionSignature) -> bool
fn eq(&self, other: &FunctionSignature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.