pub struct Scene {
pub name: Option<String>,
pub root_nodes: Vec<SceneNode>,
}Available on crate feature
scene only.Expand description
A simple scene container.
Fields§
§name: Option<String>Optional scene name.
root_nodes: Vec<SceneNode>Root nodes forming a hierarchy.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scene
impl RefUnwindSafe for Scene
impl Send for Scene
impl Sync for Scene
impl Unpin for Scene
impl UnsafeUnpin for Scene
impl UnwindSafe for Scene
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