pub enum Action {
Start,
Wait,
Synchronize,
Suspend,
Resume,
Stop,
}Expand description
Actions for render control.
These control the rendering process after it has been started.
Variants§
Start
Start rendering. Returns immediately, rendering proceeds in parallel.
Wait
Wait for rendering to complete. Blocks until finished or stopped.
Synchronize
Synchronize scene changes for interactive renders.
Suspend
Temporarily pause the render process.
Resume
Continue a previously suspended render.
Stop
Stop rendering without destroying the scene.
Implementations§
Trait Implementations§
impl Copy for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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