MCPcopy Index your code
hub / github.com/encounter/objdiff / highlight

Method highlight

objdiff-gui/src/views/function_diff.rs:30–36  ·  view source on GitHub ↗
(&self, column: usize)

Source from the content-addressed store, hash-verified

28
29impl FunctionViewState {
30 pub fn highlight(&self, column: usize) -> &HighlightKind {
31 match column {
32 0 => &self.left_highlight,
33 1 => &self.right_highlight,
34 _ => &HighlightKind::None,
35 }
36 }
37
38 pub fn set_highlight(&mut self, column: usize, highlight: HighlightKind) {
39 match column {

Callers 1

diff_text_uiFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected