rs_rich.ext.diff: diffs: the engine, views, git patches and test reports (rich_ext::diff).
No Rich counterpart: this is the port's own rs-rich-ext crate.
DIFF_STYLES
module-attribute
diff_slices
module-attribute
diff_slices = diff_sequences
TextDiff
unified
unified(old_name: Any = ..., new_name: Any = ...) -> Any
DiffView
from_diff
classmethod
from_diff(diff: Any, *, layout: Any = ..., line_numbers: Any = ..., wrap: Any = ..., titles: Any = ..., emphasis: Any = ...) -> Any
style_changed_lines
style_changed_lines() -> Any
TemplateLinks
file_url
file_url(path: Any) -> Any
line_url
line_url(path: Any, line: Any) -> Any
TestRun
from_junit
staticmethod
from_junit(xml: Any) -> Any
from_libtest
staticmethod
from_libtest(json: Any) -> Any
diff_sequences
diff_sequences(old: Any, new: Any) -> Any
diff_lines
diff_lines(old: Any, new: Any) -> Any
diff_words
diff_words(old: Any, new: Any) -> Any
diff_chars
diff_chars(old: Any, new: Any) -> Any
tokenize
tokenize(text: Any) -> Any
hunk_header(old: Any, new: Any) -> Any
group_hunks
group_hunks(ops: Any, context: Any = ...) -> Any
parse_patch
parse_patch(text: Any) -> Any