pub struct PatchEngine { /* private fields */ }Expand description
Patch Engine implementation PatchEngine — Responsible for generating atomic updates between build artifacts.
The PatchEngine diffs serialized view trees from the Muspelheim build pipeline to produce minimal patches for runtime hot-reloading.
Implementations§
Source§impl PatchEngine
impl PatchEngine
Sourcepub fn generate_patch(&mut self, artifact: CompiledArtifact) -> RuntimePatch
pub fn generate_patch(&mut self, artifact: CompiledArtifact) -> RuntimePatch
Generate a patch from a compiled artifact
Auto Trait Implementations§
impl Freeze for PatchEngine
impl RefUnwindSafe for PatchEngine
impl Send for PatchEngine
impl Sync for PatchEngine
impl Unpin for PatchEngine
impl UnsafeUnpin for PatchEngine
impl UnwindSafe for PatchEngine
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