pub enum BodyMerge {
Merged(CExpr),
Conflict,
}Expand description
Result of a three-way body merge.
Variants§
Merged(CExpr)
The two edit sets composed; here is the merged expression.
Conflict
The edits overlap (or the shapes can’t be aligned). The caller
falls back to a whole-function ModifyModify conflict.
Trait Implementations§
impl StructuralPartialEq for BodyMerge
Auto Trait Implementations§
impl Freeze for BodyMerge
impl RefUnwindSafe for BodyMerge
impl Send for BodyMerge
impl Sync for BodyMerge
impl Unpin for BodyMerge
impl UnsafeUnpin for BodyMerge
impl UnwindSafe for BodyMerge
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