Struct netsblox_ast::Function
source · pub struct Function {
pub name: String,
pub trans_name: String,
pub params: Vec<VariableDef>,
pub upvars: Vec<VariableRef>,
pub returns: bool,
pub stmts: Vec<Stmt>,
}Fields§
§name: String§trans_name: String§params: Vec<VariableDef>§upvars: Vec<VariableRef>§returns: bool§stmts: Vec<Stmt>Trait Implementations§
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