pub struct GameObject {
pub name: String,
pub active: bool,
pub layer: u32,
pub components: Vec<i64>,
}Expand description
A GameObject as stored.
Fields§
§name: Stringm_Name.
active: boolm_IsActive.
layer: u32m_Layer.
components: Vec<i64>Its components’ path ids, in order.
Trait Implementations§
Source§impl Clone for GameObject
impl Clone for GameObject
Auto Trait Implementations§
impl Freeze for GameObject
impl RefUnwindSafe for GameObject
impl Send for GameObject
impl Sync for GameObject
impl Unpin for GameObject
impl UnsafeUnpin for GameObject
impl UnwindSafe for GameObject
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