pub enum Action {
Start,
Wait,
Synchronize,
Suspend,
Resume,
Stop,
}
Expand description
The render action to perform when calling
render_control()
.
Variants§
Start
Starts rendering the scene in the provided context. The render starts in parallel – this does not block.
Wait
Wait for a render to finish. This blocks.
Synchronize
For an interactive render, apply all the buffered calls to scene’s state.
Suspend
Suspends render. Does not block.
Resume
Resumes a previously suspended render. Does not block.
Stop
Stops rendering in the provided context without destroying the scene. Does not block.
Trait Implementations§
source§impl PartialEq for Action
impl PartialEq for Action
impl Copy for Action
impl Eq for Action
impl StructuralEq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin 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