pub enum PatchDest {
Ranked(RankedDest),
Slot(SlotRef),
}Expand description
Destination grammar shared by insert and move.
Variants§
Ranked(RankedDest)
Ranked destination for ordered slots.
Slot(SlotRef)
Single-child slot destination.
Trait Implementations§
impl Eq for PatchDest
impl StructuralPartialEq for PatchDest
Auto Trait Implementations§
impl Freeze for PatchDest
impl RefUnwindSafe for PatchDest
impl Send for PatchDest
impl Sync for PatchDest
impl Unpin for PatchDest
impl UnsafeUnpin for PatchDest
impl UnwindSafe for PatchDest
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