Iterate over only the change operations (non-Equal).
(&self)
| 458 | |
| 459 | /// Iterate over only the change operations (non-Equal). |
| 460 | pub fn changes(&self) -> impl Iterator<Item = &DiffOp> { |
| 461 | self.ops.iter().filter(|op| op.is_change()) |
| 462 | } |
| 463 | |
| 464 | /// Get the operations as a slice. |
| 465 | pub fn ops(&self) -> &[DiffOp] { |