pub enum DiffStrategy {
Full,
DirtyRows,
FullRedraw,
}Expand description
The diff strategy to use for the current frame.
Variants§
Full
Use BufferDiff::compute (full row-major scan with row-skip).
DirtyRows
Use BufferDiff::compute_dirty (scan only dirty rows).
FullRedraw
Skip diff entirely; emit all cells.
Trait Implementations§
Source§impl Clone for DiffStrategy
impl Clone for DiffStrategy
Source§fn clone(&self) -> DiffStrategy
fn clone(&self) -> DiffStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DiffStrategy
Source§impl Debug for DiffStrategy
impl Debug for DiffStrategy
Source§impl Display for DiffStrategy
impl Display for DiffStrategy
impl Eq for DiffStrategy
Source§impl From<DiffStrategy> for DiffBucket
impl From<DiffStrategy> for DiffBucket
Source§fn from(strategy: DiffStrategy) -> Self
fn from(strategy: DiffStrategy) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DiffStrategy
impl PartialEq for DiffStrategy
Source§fn eq(&self, other: &DiffStrategy) -> bool
fn eq(&self, other: &DiffStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DiffStrategy
Auto Trait Implementations§
impl Freeze for DiffStrategy
impl RefUnwindSafe for DiffStrategy
impl Send for DiffStrategy
impl Sync for DiffStrategy
impl Unpin for DiffStrategy
impl UnsafeUnpin for DiffStrategy
impl UnwindSafe for DiffStrategy
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.