pub enum Status {
Equal(u32),
Update(u32),
Different,
}Expand description
The raw status of a node.
This is used to derive the edit operations.
Variants§
Equal(u32)
The node (including descendants) is identical to a node in the
other XML document, where the u32 gives the index to the node in the
other document.
Update(u32)
The node is sufficiently similar to a node in the other XML document and is therefore determined to be an update.
Different
The node is unique to this document. If it’s in document A it needs to be deleted, if it’s in document B it needs to be inserted.
Trait Implementations§
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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