pub struct Function {
pub control: FunctionControl,
pub result: Token<Type>,
pub parameters: Vec<Token<Type>>,
pub blocks: Storage<Block>,
pub start_block: Token<Block>,
}
Fields§
§control: FunctionControl
§result: Token<Type>
Function result type.
parameters: Vec<Token<Type>>
Function parameters.
blocks: Storage<Block>
All blocks in this function.
start_block: Token<Block>
The first block of this function.
Auto Trait Implementations§
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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