pub struct Function {
pub name: String,
pub params: Vec<(String, String)>,
pub return_type: String,
pub body: Vec<Stmt>,
pub is_kernel: bool,
}
Expand description
Function definition
Fields§
§name: String
§params: Vec<(String, String)>
§return_type: String
§body: Vec<Stmt>
§is_kernel: bool
Trait Implementations§
impl StructuralPartialEq for Function
Auto Trait Implementations§
impl Freeze for Function
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