pub struct Scene { /* private fields */ }Implementations§
Source§impl Scene
impl Scene
pub fn new(name: String) -> Self
pub fn get_name(&self) -> &str
pub fn add_ready<T: Ready + Default + 'static>( &mut self, ready_res: T, ) -> &mut Self
pub fn add_paint<T: Paint + 'static>(&mut self)
pub fn ready(&mut self, gfx: &Gfx)
pub fn paint(&mut self, gfx: &Gfx)
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