pub struct FunctionTypeExpr {
pub param_types: Vec<TypeId>,
pub return_type: TypeId,
pub expr_type: TypeId,
pub location: Location,
}
Expand description
A function type expression (e.g., fn(i32, string) -> string)
Fields§
§param_types: Vec<TypeId>
Parameter types of the function
return_type: TypeId
Return type of the function
expr_type: TypeId
Type of the function type expression (will be a function type)
location: Location
Source code location information
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FunctionTypeExpr
impl RefUnwindSafe for FunctionTypeExpr
impl Send for FunctionTypeExpr
impl Sync for FunctionTypeExpr
impl Unpin for FunctionTypeExpr
impl UnwindSafe for FunctionTypeExpr
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