pub enum ViewDiffOutcome {
NoOp,
Tier1Patch {
patch: TypedViewPatch,
messages: Vec<HotPatchMsg>,
},
NeedsRebuild {
reason: String,
},
}Expand description
Classification of a watched .rs file save containing view! { ... } blocks.
Variants§
NoOp
Comment-only, whitespace-only, or semantically identical save (no patch or rebuild needed).
Tier1Patch
Static text/style/prop edits on direct-root patchable view! nodes, lowered directly to
AnchorKey-addressed binary HotPatchMsg::TemplatePatch messages (node_path: vec![]).
NeedsRebuild
Non-view! Rust edit, structural/control-flow/dynamic change, composite component edit,
or syntax error requiring a Tier-2 rebuild.
Trait Implementations§
Source§impl Clone for ViewDiffOutcome
impl Clone for ViewDiffOutcome
Source§impl Debug for ViewDiffOutcome
impl Debug for ViewDiffOutcome
Source§impl PartialEq for ViewDiffOutcome
impl PartialEq for ViewDiffOutcome
impl StructuralPartialEq for ViewDiffOutcome
Auto Trait Implementations§
impl Forget for ViewDiffOutcome
impl Freeze for ViewDiffOutcomewhere
*const u8 is !null: Freeze,
PhantomData<ViewAttrChange>: Freeze,
PhantomData<ViewTextChange>: Freeze,
PhantomData<HotPatchMsg>: Freeze,
PhantomData<u8>: Freeze,
impl Move for ViewDiffOutcome
impl RefUnwindSafe for ViewDiffOutcome
impl Send for ViewDiffOutcome
impl Sync for ViewDiffOutcomewhere
RawVecInner: Sync,
impl Unpin for ViewDiffOutcome
impl UnsafeUnpin for ViewDiffOutcomewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<ViewAttrChange>: UnsafeUnpin,
PhantomData<ViewTextChange>: UnsafeUnpin,
PhantomData<HotPatchMsg>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for ViewDiffOutcomewhere
RawVecInner: UnwindSafe,
&'static AttrSpec: UnwindSafe,
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