pub struct GameObjectHierarchy {
pub gameobject_id: i64,
pub name: String,
pub parent_id: Option<i64>,
pub children_ids: Vec<i64>,
pub transform_id: i64,
pub components: Vec<i64>,
pub depth: u32,
}Expand description
GameObject hierarchy information
Fields§
§gameobject_id: i64§name: String§parent_id: Option<i64>§children_ids: Vec<i64>§transform_id: i64§components: Vec<i64>§depth: u32Trait Implementations§
Source§impl Clone for GameObjectHierarchy
impl Clone for GameObjectHierarchy
Source§fn clone(&self) -> GameObjectHierarchy
fn clone(&self) -> GameObjectHierarchy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GameObjectHierarchy
impl Debug for GameObjectHierarchy
Source§impl<'de> Deserialize<'de> for GameObjectHierarchy
impl<'de> Deserialize<'de> for GameObjectHierarchy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GameObjectHierarchy
impl RefUnwindSafe for GameObjectHierarchy
impl Send for GameObjectHierarchy
impl Sync for GameObjectHierarchy
impl Unpin for GameObjectHierarchy
impl UnwindSafe for GameObjectHierarchy
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