pub struct HirFunction {
pub id: FunctionId,
pub name: String,
pub parameters: Vec<LocalSlot>,
pub parameter_names: Vec<String>,
pub parameter_defaults: Vec<Option<ExprId>>,
pub local_slots: Vec<LocalSlot>,
pub body: Vec<StatementId>,
pub return_type: Type,
}Fields§
§id: FunctionId§name: String§parameters: Vec<LocalSlot>§parameter_names: Vec<String>§parameter_defaults: Vec<Option<ExprId>>§local_slots: Vec<LocalSlot>§body: Vec<StatementId>§return_type: TypeTrait Implementations§
Source§impl Clone for HirFunction
impl Clone for HirFunction
Source§impl Debug for HirFunction
impl Debug for HirFunction
Source§impl PartialEq for HirFunction
impl PartialEq for HirFunction
impl StructuralPartialEq for HirFunction
Auto Trait Implementations§
impl Freeze for HirFunction
impl RefUnwindSafe for HirFunction
impl Send for HirFunction
impl Sync for HirFunction
impl Unpin for HirFunction
impl UnsafeUnpin for HirFunction
impl UnwindSafe for HirFunction
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