Struct netsblox_ast::Entity
source · pub struct Entity {Show 13 fields
pub name: String,
pub trans_name: String,
pub fields: Vec<VariableDefInit>,
pub costumes: Vec<VariableDefInit>,
pub sounds: Vec<VariableDefInit>,
pub funcs: Vec<Function>,
pub scripts: Vec<Script>,
pub active_costume: Option<usize>,
pub visible: bool,
pub color: (u8, u8, u8, u8),
pub pos: (f64, f64),
pub heading: f64,
pub scale: f64,
}Fields§
§name: String§trans_name: String§fields: Vec<VariableDefInit>§costumes: Vec<VariableDefInit>§sounds: Vec<VariableDefInit>§funcs: Vec<Function>§scripts: Vec<Script>§active_costume: Option<usize>§visible: bool§color: (u8, u8, u8, u8)§pos: (f64, f64)§heading: f64§scale: f64Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Entity
impl !Send for Entity
impl !Sync for Entity
impl Unpin for Entity
impl UnwindSafe for Entity
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