Struct move_compiler::naming::ast::FunctionSignature
source · [−]pub struct FunctionSignature {
pub type_parameters: Vec<TParam>,
pub parameters: Vec<(Var, Type)>,
pub return_type: Type,
}
Fields
type_parameters: Vec<TParam>
parameters: Vec<(Var, Type)>
return_type: Type
Trait Implementations
sourceimpl Clone for FunctionSignature
impl Clone for FunctionSignature
sourcefn clone(&self) -> FunctionSignature
fn clone(&self) -> FunctionSignature
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
sourceimpl Debug for FunctionSignature
impl Debug for FunctionSignature
sourceimpl PartialEq<FunctionSignature> for FunctionSignature
impl PartialEq<FunctionSignature> for FunctionSignature
sourcefn 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 ==
. Read more
impl StructuralPartialEq for FunctionSignature
Auto Trait Implementations
impl RefUnwindSafe for FunctionSignature
impl Send for FunctionSignature
impl Sync for FunctionSignature
impl Unpin for FunctionSignature
impl UnwindSafe for FunctionSignature
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more