Debian Codegraph @

src/utils/syntect.rs

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
1 use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::strrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc str/::FromStrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/traits/FromStr#;
2
3 use syntectrust-analyzer cargo syntect 5.3.0 crate/::highlightingrust-analyzer cargo syntect 5.3.0 highlighting/::{Colorrust-analyzer cargo syntect 5.3.0 highlighting/style/Color#, FontStylerust-analyzer cargo syntect 5.3.0 highlighting/style/FontStyle#, Stylerust-analyzer cargo syntect 5.3.0 highlighting/style/Style#};
4
5 use craterust-analyzer cargo git-delta 0.19.2 crate/::colorrust-analyzer cargo git-delta 0.19.2 color/;
6 use craterust-analyzer cargo git-delta 0.19.2 crate/::stylerust-analyzer cargo git-delta 0.19.2 style/ as delta_stylerust-analyzer cargo git-delta 0.19.2 style/;
7
8 pub fn syntect_color_from_ansi_namerust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_name().(name: &str) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<Colorrust-analyzer cargo syntect 5.3.0 highlighting/style/Color#> {
9 colorrust-analyzer cargo git-delta 0.19.2 color/::ansi_16_color_name_to_numberrust-analyzer cargo git-delta 0.19.2 color/ansi_16_color_name_to_number().(name).and_thenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]and_then().(syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().)
10 }
11
12 pub fn syntect_color_from_namerust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_name().(name: &str) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<Colorrust-analyzer cargo syntect 5.3.0 highlighting/style/Color#> {
13 paletterust-analyzer cargo palette 0.7.3 crate/::namedrust-analyzer cargo palette 0.7.3 named/::from_strrust-analyzer cargo palette 0.7.3 named/from_str().(name).maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(|color| Colorrust-analyzer cargo syntect 5.3.0 highlighting/style/Color# {
14 rrust-analyzer cargo syntect 5.3.0 highlighting/style/Color#r.: color.redrust-analyzer cargo palette 0.7.3 rgb/rgb/Rgb#red.,
15 grust-analyzer cargo syntect 5.3.0 highlighting/style/Color#g.: color.greenrust-analyzer cargo palette 0.7.3 rgb/rgb/Rgb#green.,
16 brust-analyzer cargo syntect 5.3.0 highlighting/style/Color#b.: color.bluerust-analyzer cargo palette 0.7.3 rgb/rgb/Rgb#blue.,
17 arust-analyzer cargo syntect 5.3.0 highlighting/style/Color#a.: 0xFF,
18 })
19 }
20
21 /// Convert 8-bit ANSI code to #RGBA string with ANSI code in red channel and 0 in alpha channel.
22 // See https://github.com/sharkdp/bat/pull/543
23 pub fn syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(n: u8) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<Colorrust-analyzer cargo syntect 5.3.0 highlighting/style/Color#> {
24 Colorrust-analyzer cargo syntect 5.3.0 highlighting/style/Color#::from_strrust-analyzer cargo syntect 5.3.0 highlighting/theme_load/impl#[Color][FromStr]from_str().(&formatrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc macros/format!!("#{n:02x}000000")).okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]ok().()
25 }
26
27 pub trait FromAnsiTermStylerust-analyzer cargo git-delta 0.19.2 utils/syntect/FromAnsiTermStyle# {
28 fn from_ansi_term_stylerust-analyzer cargo git-delta 0.19.2 utils/syntect/FromAnsiTermStyle#from_ansi_term_style().(ansi_term_style: ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Stylerust-analyzer cargo nu-ansi-term 0.50.3 style/Style#) -> Self;
29 }
30
31 impl FromAnsiTermStylerust-analyzer cargo git-delta 0.19.2 utils/syntect/FromAnsiTermStyle# for Stylerust-analyzer cargo syntect 5.3.0 highlighting/style/Style# {
32 fn from_ansi_term_stylerust-analyzer cargo git-delta 0.19.2 utils/syntect/impl#[Style][FromAnsiTermStyle]from_ansi_term_style().(ansi_term_style: ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Stylerust-analyzer cargo nu-ansi-term 0.50.3 style/Style#) -> Selfrust-analyzer cargo git-delta 0.19.2 utils/syntect/impl#[Style][FromAnsiTermStyle] {
33 let default = Selfrust-analyzer cargo git-delta 0.19.2 utils/syntect/impl#[Style][FromAnsiTermStyle]::defaultrust-analyzer cargo syntect 5.3.0 highlighting/style/impl#[Style][Default]default().();
34 Selfrust-analyzer cargo git-delta 0.19.2 utils/syntect/impl#[Style][FromAnsiTermStyle] {
35 foregroundrust-analyzer cargo syntect 5.3.0 highlighting/style/Style#foreground.: if let Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(color) = ansi_term_style.foregroundrust-analyzer cargo nu-ansi-term 0.50.3 style/Style#foreground. {
36 Colorrust-analyzer cargo syntect 5.3.0 highlighting/style/Color#::from_ansi_term_colorrust-analyzer cargo git-delta 0.19.2 utils/syntect/impl#[Color][FromAnsiTermColor]from_ansi_term_color().(color)
37 } else {
38 default.foregroundrust-analyzer cargo syntect 5.3.0 highlighting/style/Style#foreground.
39 },
40 backgroundrust-analyzer cargo syntect 5.3.0 highlighting/style/Style#background.: if let Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(color) = ansi_term_style.backgroundrust-analyzer cargo nu-ansi-term 0.50.3 style/Style#background. {
41 Colorrust-analyzer cargo syntect 5.3.0 highlighting/style/Color#::from_ansi_term_colorrust-analyzer cargo git-delta 0.19.2 utils/syntect/impl#[Color][FromAnsiTermColor]from_ansi_term_color().(color)
42 } else {
43 default.backgroundrust-analyzer cargo syntect 5.3.0 highlighting/style/Style#background.
44 },
45 font_stylerust-analyzer cargo syntect 5.3.0 highlighting/style/Style#font_style.: FontStylerust-analyzer cargo syntect 5.3.0 highlighting/style/FontStyle#::from_ansi_term_stylerust-analyzer cargo git-delta 0.19.2 utils/syntect/impl#[FontStyle][FromAnsiTermStyle]from_ansi_term_style().(ansi_term_style),
46 }
47 }
48 }
49
50 impl FromAnsiTermStylerust-analyzer cargo git-delta 0.19.2 utils/syntect/FromAnsiTermStyle# for FontStylerust-analyzer cargo syntect 5.3.0 highlighting/style/FontStyle# {
51 fn from_ansi_term_stylerust-analyzer cargo git-delta 0.19.2 utils/syntect/impl#[FontStyle][FromAnsiTermStyle]from_ansi_term_style().(ansi_term_style: ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Stylerust-analyzer cargo nu-ansi-term 0.50.3 style/Style#) -> Selfrust-analyzer cargo git-delta 0.19.2 utils/syntect/impl#[FontStyle][FromAnsiTermStyle] {
52 let mut font_style = FontStylerust-analyzer cargo syntect 5.3.0 highlighting/style/FontStyle#::emptyrust-analyzer cargo syntect 5.3.0 highlighting/style/impl#[FontStyle]empty().();
53 if ansi_term_style.is_boldrust-analyzer cargo nu-ansi-term 0.50.3 style/Style#is_bold. {
54 font_style rust-analyzer cargo syntect 5.3.0 highlighting/style/impl#[FontStyle][`BitOrAssign<Self>`]bitor_assign().|=rust-analyzer cargo syntect 5.3.0 highlighting/style/impl#[FontStyle][`BitOrAssign<Self>`]bitor_assign(). rust-analyzer cargo syntect 5.3.0 highlighting/style/impl#[FontStyle][`BitOrAssign<Self>`]bitor_assign().FontStylerust-analyzer cargo syntect 5.3.0 highlighting/style/FontStyle#::BOLDrust-analyzer cargo syntect 5.3.0 highlighting/style/impl#[FontStyle]BOLD.
55 }
56 if ansi_term_style.is_italicrust-analyzer cargo nu-ansi-term 0.50.3 style/Style#is_italic. {
57 font_style rust-analyzer cargo syntect 5.3.0 highlighting/style/impl#[FontStyle][`BitOrAssign<Self>`]bitor_assign().|=rust-analyzer cargo syntect 5.3.0 highlighting/style/impl#[FontStyle][`BitOrAssign<Self>`]bitor_assign(). rust-analyzer cargo syntect 5.3.0 highlighting/style/impl#[FontStyle][`BitOrAssign<Self>`]bitor_assign().FontStylerust-analyzer cargo syntect 5.3.0 highlighting/style/FontStyle#::ITALICrust-analyzer cargo syntect 5.3.0 highlighting/style/impl#[FontStyle]ITALIC.
58 }
59 if ansi_term_style.is_underlinerust-analyzer cargo nu-ansi-term 0.50.3 style/Style#is_underline. {
60 font_style rust-analyzer cargo syntect 5.3.0 highlighting/style/impl#[FontStyle][`BitOrAssign<Self>`]bitor_assign().|=rust-analyzer cargo syntect 5.3.0 highlighting/style/impl#[FontStyle][`BitOrAssign<Self>`]bitor_assign(). rust-analyzer cargo syntect 5.3.0 highlighting/style/impl#[FontStyle][`BitOrAssign<Self>`]bitor_assign().FontStylerust-analyzer cargo syntect 5.3.0 highlighting/style/FontStyle#::UNDERLINErust-analyzer cargo syntect 5.3.0 highlighting/style/impl#[FontStyle]UNDERLINE.
61 }
62 font_style
63 }
64 }
65
66 pub trait FromAnsiTermColorrust-analyzer cargo git-delta 0.19.2 utils/syntect/FromAnsiTermColor# {
67 fn from_ansi_term_colorrust-analyzer cargo git-delta 0.19.2 utils/syntect/FromAnsiTermColor#from_ansi_term_color().(ansi_term_color: ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#) -> Self;
68 }
69
70 impl FromAnsiTermColorrust-analyzer cargo git-delta 0.19.2 utils/syntect/FromAnsiTermColor# for Colorrust-analyzer cargo syntect 5.3.0 highlighting/style/Color# {
71 fn from_ansi_term_colorrust-analyzer cargo git-delta 0.19.2 utils/syntect/impl#[Color][FromAnsiTermColor]from_ansi_term_color().(ansi_term_color: ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#) -> Selfrust-analyzer cargo git-delta 0.19.2 utils/syntect/impl#[Color][FromAnsiTermColor] {
72 match ansi_term_color {
73 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::Blackrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#Black# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(0).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
74 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::Redrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#Red# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(1).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
75 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::Greenrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#Green# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(2).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
76 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::Yellowrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#Yellow# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(3).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
77 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::Bluerust-analyzer cargo nu-ansi-term 0.50.3 style/Color#Blue# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(4).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
78 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::Purplerust-analyzer cargo nu-ansi-term 0.50.3 style/Color#Purple# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(5).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
•79 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::Magentarust-analyzer cargo nu-ansi-term 0.50.3 style/Color#Magenta# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(5).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
80 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::Cyanrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#Cyan# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(6).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
81 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::Whiterust-analyzer cargo nu-ansi-term 0.50.3 style/Color#White# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(7).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
•82 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::DarkGrayrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#DarkGray# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(8).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
83 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::LightRedrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#LightRed# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(9).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
84 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::LightGreenrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#LightGreen# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(10).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
85 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::LightYellowrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#LightYellow# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(11).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
86 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::LightBluerust-analyzer cargo nu-ansi-term 0.50.3 style/Color#LightBlue# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(12).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
87 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::LightMagentarust-analyzer cargo nu-ansi-term 0.50.3 style/Color#LightMagenta# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(13).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
88 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::LightPurplerust-analyzer cargo nu-ansi-term 0.50.3 style/Color#LightPurple# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(13).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
89 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::LightCyanrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#LightCyan# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(14).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
90 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::LightGrayrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#LightGray# => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(15).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
91 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::Fixedrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#Fixed#(n) => syntect_color_from_ansi_numberrust-analyzer cargo git-delta 0.19.2 utils/syntect/syntect_color_from_ansi_number().(n).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().(),
•92 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::Rgbrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#Rgb#(r, g, b) => Selfrust-analyzer cargo git-delta 0.19.2 utils/syntect/impl#[Color][FromAnsiTermColor] { rrust-analyzer cargo syntect 5.3.0 highlighting/style/Color#r., grust-analyzer cargo syntect 5.3.0 highlighting/style/Color#g., brust-analyzer cargo syntect 5.3.0 highlighting/style/Color#b., arust-analyzer cargo syntect 5.3.0 highlighting/style/Color#a.: 0xFF },
93 ansi_termrust-analyzer cargo nu-ansi-term 0.50.3 crate/::Colorrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#::Defaultrust-analyzer cargo nu-ansi-term 0.50.3 style/Color#Default# => todorust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/todo!!(),
94 }
95 }
96 }
97
98 pub trait FromDeltaStylerust-analyzer cargo git-delta 0.19.2 utils/syntect/FromDeltaStyle# {
99 fn from_delta_stylerust-analyzer cargo git-delta 0.19.2 utils/syntect/FromDeltaStyle#from_delta_style().(delta_style: delta_stylerust-analyzer cargo git-delta 0.19.2 style/::Stylerust-analyzer cargo git-delta 0.19.2 style/Style#) -> Self;
100 }
101
102 impl FromDeltaStylerust-analyzer cargo git-delta 0.19.2 utils/syntect/FromDeltaStyle# for Stylerust-analyzer cargo syntect 5.3.0 highlighting/style/Style# {
103 fn from_delta_stylerust-analyzer cargo git-delta 0.19.2 utils/syntect/impl#[Style][FromDeltaStyle]from_delta_style().(delta_style: delta_stylerust-analyzer cargo git-delta 0.19.2 style/::Stylerust-analyzer cargo git-delta 0.19.2 style/Style#) -> Selfrust-analyzer cargo git-delta 0.19.2 utils/syntect/impl#[Style][FromDeltaStyle] {
104 Selfrust-analyzer cargo git-delta 0.19.2 utils/syntect/impl#[Style][FromDeltaStyle]::from_ansi_term_stylerust-analyzer cargo git-delta 0.19.2 utils/syntect/impl#[Style][FromAnsiTermStyle]from_ansi_term_style().(delta_style.ansi_term_stylerust-analyzer cargo git-delta 0.19.2 style/Style#ansi_term_style.)
105 }
106 }