pub enum RenderStrategy {
FirstRender,
FullRedraw,
Diff,
}Expand description
Strategy used by Renderer to draw a frame.
Variants§
FirstRender
Full draw with no previous state; clears and redraws everything.
FullRedraw
Force a complete screen clear and redraw.
Diff
Compute a minimal diff against the previous frame and only redraw changed lines.
Auto Trait Implementations§
impl Freeze for RenderStrategy
impl RefUnwindSafe for RenderStrategy
impl Send for RenderStrategy
impl Sync for RenderStrategy
impl Unpin for RenderStrategy
impl UnsafeUnpin for RenderStrategy
impl UnwindSafe for RenderStrategy
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