pub struct SceneAsset {
pub source_scene_index: usize,
pub name: Option<String>,
pub roots: Vec<BoneId>,
}Expand description
One declared source scene and its root nodes.
Fields§
§source_scene_index: usizeIndex of this scene in the source-format scene array.
name: Option<String>Authored scene name, when the source format provides one.
roots: Vec<BoneId>Root nodes belonging to this scene, represented as core bone ids.
Trait Implementations§
Source§impl Clone for SceneAsset
impl Clone for SceneAsset
Source§fn clone(&self) -> SceneAsset
fn clone(&self) -> SceneAsset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SceneAsset
impl Debug for SceneAsset
Source§impl Default for SceneAsset
impl Default for SceneAsset
Source§fn default() -> SceneAsset
fn default() -> SceneAsset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SceneAsset
impl RefUnwindSafe for SceneAsset
impl Send for SceneAsset
impl Sync for SceneAsset
impl Unpin for SceneAsset
impl UnsafeUnpin for SceneAsset
impl UnwindSafe for SceneAsset
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