pub struct Scene { /* private fields */ }Expand description
Renderer-agnostic, immediate-mode display list.
Widgets paint into a Scene (via crate::SceneBuilder) each frame; the
render crate consumes Scene::commands to draw. Rebuilt per frame — call
Scene::reset before re-recording rather than allocating a new Scene.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Scene
impl !UnwindSafe for Scene
impl Freeze for Scene
impl Send for Scene
impl Sync for Scene
impl Unpin for Scene
impl UnsafeUnpin 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