pub enum DiffRegime {
StableFrame,
BurstyChange,
ResizeRegime,
DegradedTerminal,
}Expand description
Regime classification for diff strategy decisions.
Variants§
StableFrame
Low change rate, stable content.
BurstyChange
Bursty changes (user typing, scrolling).
ResizeRegime
Terminal resize in progress.
DegradedTerminal
Terminal is degraded (slow output, high latency).
Implementations§
Trait Implementations§
Source§impl Clone for DiffRegime
impl Clone for DiffRegime
Source§fn clone(&self) -> DiffRegime
fn clone(&self) -> DiffRegime
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 DiffRegime
Source§impl Debug for DiffRegime
impl Debug for DiffRegime
impl Eq for DiffRegime
Source§impl Hash for DiffRegime
impl Hash for DiffRegime
Source§impl PartialEq for DiffRegime
impl PartialEq for DiffRegime
Source§fn eq(&self, other: &DiffRegime) -> bool
fn eq(&self, other: &DiffRegime) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DiffRegime
Auto Trait Implementations§
impl Freeze for DiffRegime
impl RefUnwindSafe for DiffRegime
impl Send for DiffRegime
impl Sync for DiffRegime
impl Unpin for DiffRegime
impl UnsafeUnpin for DiffRegime
impl UnwindSafe for DiffRegime
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.