pub struct FunctionTypeSignature {
pub first_parameter_is_self: bool,
pub parameters: Vec<ResolvedTypeForParameter>,
pub return_type: Box<ResolvedType>,
}
Fields§
§first_parameter_is_self: bool
§parameters: Vec<ResolvedTypeForParameter>
§return_type: Box<ResolvedType>
Implementations§
Source§impl FunctionTypeSignature
impl FunctionTypeSignature
pub fn same_type(&self, other: &FunctionTypeSignature) -> bool
Trait Implementations§
Source§impl Clone for FunctionTypeSignature
impl Clone for FunctionTypeSignature
Source§fn clone(&self) -> FunctionTypeSignature
fn clone(&self) -> FunctionTypeSignature
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 FunctionTypeSignature
impl Debug for FunctionTypeSignature
Source§impl Display for FunctionTypeSignature
impl Display for FunctionTypeSignature
Source§impl PartialEq for FunctionTypeSignature
impl PartialEq for FunctionTypeSignature
impl Eq for FunctionTypeSignature
impl StructuralPartialEq for FunctionTypeSignature
Auto Trait Implementations§
impl Freeze for FunctionTypeSignature
impl !RefUnwindSafe for FunctionTypeSignature
impl !Send for FunctionTypeSignature
impl !Sync for FunctionTypeSignature
impl Unpin for FunctionTypeSignature
impl !UnwindSafe for FunctionTypeSignature
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