pub struct Scene {
pub world: World,
/* private fields */
}Fields§
§world: WorldImplementations§
Source§impl Scene
impl Scene
pub fn new() -> Scene
pub fn add_node(&mut self) -> ObjectBuilder<'_, ()>
pub fn add_entity( &mut self, prototype: &Prototype, ) -> ObjectBuilder<'_, EntityKind>
pub fn bake(&self) -> BakedScene
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 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