pub enum ChildrenPatch {
Insert {
index: usize,
node: NodeRef,
},
Remove(usize),
Move {
index: usize,
diff: isize,
},
}Variants§
Trait Implementations§
Source§impl Clone for ChildrenPatch
impl Clone for ChildrenPatch
Source§fn clone(&self) -> ChildrenPatch
fn clone(&self) -> ChildrenPatch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChildrenPatch
impl Debug for ChildrenPatch
Source§impl PartialEq for ChildrenPatch
impl PartialEq for ChildrenPatch
impl Eq for ChildrenPatch
impl StructuralPartialEq for ChildrenPatch
Auto Trait Implementations§
impl Freeze for ChildrenPatch
impl RefUnwindSafe for ChildrenPatch
impl Send for ChildrenPatch
impl Sync for ChildrenPatch
impl Unpin for ChildrenPatch
impl UnwindSafe for ChildrenPatch
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