Struct netsblox_ast::Role
source · [−]pub struct Role {
pub name: String,
pub notes: String,
pub stage_size: (usize, usize),
pub globals: Vec<VariableDef>,
pub funcs: Vec<Function>,
pub entities: Vec<Entity>,
}Fields
name: Stringnotes: Stringstage_size: (usize, usize)globals: Vec<VariableDef>funcs: Vec<Function>entities: Vec<Entity>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnwindSafe for Role
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more