pub enum ReuseType {
Direct,
PositionShift,
ContentUpdate,
StructuralEquivalent,
}Expand description
Types of reuse strategies available for nodes
Variants§
Direct
Direct reuse - node unchanged
PositionShift
Position shift - same content, different position
ContentUpdate
Content update - same structure, updated values
StructuralEquivalent
Structural equivalent - same pattern with different details
Trait Implementations§
impl StructuralPartialEq for ReuseType
Auto Trait Implementations§
impl Freeze for ReuseType
impl RefUnwindSafe for ReuseType
impl Send for ReuseType
impl Sync for ReuseType
impl Unpin for ReuseType
impl UnsafeUnpin for ReuseType
impl UnwindSafe for ReuseType
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