pub enum EscalationReason {
KeyMismatch,
HoleCountChanged {
old: usize,
new: usize,
},
HoleSlotRetargeted {
index: usize,
},
}Expand description
Why a diff cannot be hot-swapped as data.
Variants§
KeyMismatch
Diffing two different view! sites — a caller bug, not a real edit.
HoleCountChanged
A hole was added or removed (new/removed compiled {expr}).
HoleSlotRetargeted
Hole index now feeds a different (widget, prop) than the running
binary compiled it for — its type may not match. The per-slot guard.
Trait Implementations§
Source§impl Clone for EscalationReason
impl Clone for EscalationReason
Source§fn clone(&self) -> EscalationReason
fn clone(&self) -> EscalationReason
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 moreSource§impl Debug for EscalationReason
impl Debug for EscalationReason
impl Eq for EscalationReason
Source§impl PartialEq for EscalationReason
impl PartialEq for EscalationReason
impl StructuralPartialEq for EscalationReason
Auto Trait Implementations§
impl Freeze for EscalationReason
impl RefUnwindSafe for EscalationReason
impl Send for EscalationReason
impl Sync for EscalationReason
impl Unpin for EscalationReason
impl UnsafeUnpin for EscalationReason
impl UnwindSafe for EscalationReason
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