pub enum TemplateDiff {
Unchanged,
Swappable,
Escalate(EscalationReason),
}Expand description
The verdict for one edited view! site.
Variants§
Unchanged
Byte-identical shape — nothing to do.
Swappable
Shape changed but every hole’s type site is preserved: re-inflate the new descriptor with the running binary’s current holes.
Escalate(EscalationReason)
The change touched compiled logic — escalate to Tier 2 (dylib swap) or Tier 0 (restart). Never inflate.
Trait Implementations§
Source§impl Clone for TemplateDiff
impl Clone for TemplateDiff
Source§fn clone(&self) -> TemplateDiff
fn clone(&self) -> TemplateDiff
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 TemplateDiff
impl Debug for TemplateDiff
impl Eq for TemplateDiff
Source§impl PartialEq for TemplateDiff
impl PartialEq for TemplateDiff
impl StructuralPartialEq for TemplateDiff
Auto Trait Implementations§
impl Freeze for TemplateDiff
impl RefUnwindSafe for TemplateDiff
impl Send for TemplateDiff
impl Sync for TemplateDiff
impl Unpin for TemplateDiff
impl UnsafeUnpin for TemplateDiff
impl UnwindSafe for TemplateDiff
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