pub struct Patch {
pub obj: ObjId,
pub path: Vec<(ObjId, Prop)>,
pub action: PatchAction,
}
Expand description
Fields§
§obj: ObjId
The object this patch modifies
path: Vec<(ObjId, Prop)>
The path to the property in the parent object where this object lives
action: PatchAction
The change this patch represents
Trait Implementations§
source§impl PartialEq<Patch> for Patch
impl PartialEq<Patch> for Patch
impl StructuralPartialEq for Patch
Auto Trait Implementations§
impl RefUnwindSafe for Patch
impl Send for Patch
impl Sync for Patch
impl Unpin for Patch
impl UnwindSafe for Patch
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