Struct BtFunctionDefn
pub struct BtFunctionDefn {
pub name: String,
pub is_global: bool,
pub return_type: BtType,
pub params: Vec<(BtType, String)>,
pub instructions: Vec<BtInstruction>,
}Expand description
The IR for a function definition.
Fields§
§name: String§is_global: bool§return_type: BtType§params: Vec<(BtType, String)>§instructions: Vec<BtInstruction>Trait Implementations§
Auto Trait Implementations§
impl Freeze for BtFunctionDefn
impl RefUnwindSafe for BtFunctionDefn
impl Send for BtFunctionDefn
impl Sync for BtFunctionDefn
impl Unpin for BtFunctionDefn
impl UnwindSafe for BtFunctionDefn
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