Debian Codegraph @

src/canvas/components/widget_carousel.rs

raw symbols SCIP
1 use ratatuirust-analyzer cargo ratatui 0.30.2 crate/::{
2 Framerust-analyzer cargo ratatui-core 0.1.2 terminal/frame/Frame#,
3 layoutrust-analyzer cargo ratatui-core 0.1.2 layout/::{Alignmentrust-analyzer cargo ratatui-core 0.1.2 layout/alignment/Alignment#, Constraintrust-analyzer cargo ratatui-core 0.1.2 layout/constraint/Constraint#, Directionrust-analyzer cargo ratatui-core 0.1.2 layout/direction/Direction#, Layoutrust-analyzer cargo ratatui-core 0.1.2 layout/layout/Layout#, Rectrust-analyzer cargo ratatui-core 0.1.2 layout/rect/Rect#},
4 textrust-analyzer cargo ratatui-core 0.1.2 text/::{Linerust-analyzer cargo ratatui-core 0.1.2 text/line/Line#, Spanrust-analyzer cargo ratatui-core 0.1.2 text/span/Span#},
5 widgetsrust-analyzer cargo ratatui 0.30.2 widgets/::{Blockrust-analyzer cargo ratatui-widgets 0.3.2 block/Block#, Paragraphrust-analyzer cargo ratatui-widgets 0.3.2 paragraph/Paragraph#},
6 };
7
8 use craterust-analyzer cargo bottom 0.14.9 crate/::{
9 apprust-analyzer cargo bottom 0.14.9 app/::{Apprust-analyzer cargo bottom 0.14.9 app/App#, layout_managerrust-analyzer cargo bottom 0.14.9 app/layout_manager/::BottomWidgetTyperust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#},
10 canvasrust-analyzer cargo bottom 0.14.9 canvas/::Painterrust-analyzer cargo bottom 0.14.9 canvas/Painter#,
11 };
12
13 impl Painterrust-analyzer cargo bottom 0.14.9 canvas/Painter# {
14 pub fn draw_basic_table_arrowsrust-analyzer cargo bottom 0.14.9 canvas/components/widget_carousel/impl#[Painter]draw_basic_table_arrows().(
15 &self, f: &mut Framerust-analyzer cargo ratatui-core 0.1.2 terminal/frame/Frame#<'_>, app_state: &mut Apprust-analyzer cargo bottom 0.14.9 app/App#, draw_loc: Rectrust-analyzer cargo ratatui-core 0.1.2 layout/rect/Rect#, widget_id: u64,
16 ) {
17 if let Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(current_table) = app_state.widget_maprust-analyzer cargo bottom 0.14.9 app/App#widget_map..getrust-analyzer cargo std https://github.com/rust-lang/rust/library/std collections/hash/map/impl#[`HashMap<K, V, S, A>`]get().(&widget_id) {
18 let current_table = if let BottomWidgetTyperust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#::ProcSortrust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#ProcSort# = current_table.widget_typerust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidget#widget_type. {
19 current_table
20 .right_neighbourrust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidget#right_neighbour.
21 .and_thenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]and_then().(|id| app_state.widget_maprust-analyzer cargo bottom 0.14.9 app/App#widget_map..getrust-analyzer cargo std https://github.com/rust-lang/rust/library/std collections/hash/map/impl#[`HashMap<K, V, S, A>`]get().(&id))
22 .expectrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]expect().("id must exist in widget mapping")
23 } else {
24 current_table
25 };
26
27 let (left_table, right_table) = (
28 {
29 current_table
30 .left_neighbourrust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidget#left_neighbour.
31 .maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(|left_widget_id| {
32 app_state
33 .widget_maprust-analyzer cargo bottom 0.14.9 app/App#widget_map.
34 .getrust-analyzer cargo std https://github.com/rust-lang/rust/library/std collections/hash/map/impl#[`HashMap<K, V, S, A>`]get().(&left_widget_id)
35 .maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(|left_widget| {
36 if left_widget.widget_typerust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidget#widget_type. rust-analyzer cargo bottom 0.14.9 app/layout_manager/impl#[BottomWidgetType][`PartialEq<Self>`]eq().==rust-analyzer cargo bottom 0.14.9 app/layout_manager/impl#[BottomWidgetType][`PartialEq<Self>`]eq(). rust-analyzer cargo bottom 0.14.9 app/layout_manager/impl#[BottomWidgetType][`PartialEq<Self>`]eq().BottomWidgetTyperust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#::ProcSortrust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#ProcSort# {
37 left_widget
38 .left_neighbourrust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidget#left_neighbour.
39 .maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(|left_left_widget_id| {
40 app_state.widget_maprust-analyzer cargo bottom 0.14.9 app/App#widget_map..getrust-analyzer cargo std https://github.com/rust-lang/rust/library/std collections/hash/map/impl#[`HashMap<K, V, S, A>`]get().(&left_left_widget_id).maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(
41 |left_left_widget| {
42 &left_left_widget.widget_typerust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidget#widget_type.
43 },
44 )
45 })
46 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(&BottomWidgetTyperust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#::Temprust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#Temp#))
47 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(&BottomWidgetTyperust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#::Temprust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#Temp#)
48 } else {
49 &left_widget.widget_typerust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidget#widget_type.
50 }
51 })
52 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(&BottomWidgetTyperust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#::Temprust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#Temp#)
53 })
54 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(&BottomWidgetTyperust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#::Temprust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#Temp#)
55 },
56 {
57 current_table
58 .right_neighbourrust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidget#right_neighbour.
59 .maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(|right_widget_id| {
60 app_state
61 .widget_maprust-analyzer cargo bottom 0.14.9 app/App#widget_map.
62 .getrust-analyzer cargo std https://github.com/rust-lang/rust/library/std collections/hash/map/impl#[`HashMap<K, V, S, A>`]get().(&right_widget_id)
63 .maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(|right_widget| {
64 if right_widget.widget_typerust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidget#widget_type. rust-analyzer cargo bottom 0.14.9 app/layout_manager/impl#[BottomWidgetType][`PartialEq<Self>`]eq().==rust-analyzer cargo bottom 0.14.9 app/layout_manager/impl#[BottomWidgetType][`PartialEq<Self>`]eq(). rust-analyzer cargo bottom 0.14.9 app/layout_manager/impl#[BottomWidgetType][`PartialEq<Self>`]eq().BottomWidgetTyperust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#::ProcSortrust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#ProcSort# {
65 right_widget
66 .right_neighbourrust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidget#right_neighbour.
67 .maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(|right_right_widget_id| {
68 app_state
69 .widget_maprust-analyzer cargo bottom 0.14.9 app/App#widget_map.
70 .getrust-analyzer cargo std https://github.com/rust-lang/rust/library/std collections/hash/map/impl#[`HashMap<K, V, S, A>`]get().(&right_right_widget_id)
71 .maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(|right_right_widget| {
72 &right_right_widget.widget_typerust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidget#widget_type.
73 })
74 })
75 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(&BottomWidgetTyperust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#::Diskrust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#Disk#))
76 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(&BottomWidgetTyperust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#::Diskrust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#Disk#)
77 } else {
78 &right_widget.widget_typerust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidget#widget_type.
79 }
80 })
81 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(&BottomWidgetTyperust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#::Diskrust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#Disk#)
82 })
83 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(&BottomWidgetTyperust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#::Diskrust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidgetType#Disk#)
84 },
85 );
86
87 // TODO: I can do this text effect as just a border now!
88 let left_name = left_table.get_pretty_namerust-analyzer cargo bottom 0.14.9 app/layout_manager/impl#[BottomWidgetType]get_pretty_name().();
89 let right_name = right_table.get_pretty_namerust-analyzer cargo bottom 0.14.9 app/layout_manager/impl#[BottomWidgetType]get_pretty_name().();
90 let num_spaces =
91 usize::fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/num/impl#[usize][`From<u16>`]from().(draw_loc.widthrust-analyzer cargo ratatui-core 0.1.2 layout/rect/Rect#width.).saturating_subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[usize]saturating_sub().(6 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().left_name.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]len().() rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().right_name.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]len().());
92 let carousel_text_style = if widget_id rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u64][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u64][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[u64][`PartialEq<Self>`]eq().app_state.current_widgetrust-analyzer cargo bottom 0.14.9 app/App#current_widget..widget_idrust-analyzer cargo bottom 0.14.9 app/layout_manager/BottomWidget#widget_id. {
93 self.stylesrust-analyzer cargo bottom 0.14.9 canvas/Painter#styles..highlighted_border_stylerust-analyzer cargo bottom 0.14.9 options/config/style/Styles#highlighted_border_style.
94 } else {
95 self.stylesrust-analyzer cargo bottom 0.14.9 canvas/Painter#styles..text_stylerust-analyzer cargo bottom 0.14.9 options/config/style/Styles#text_style.
96 };
97
98 let left_arrow_text = vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc macros/vec!![
99 Linerust-analyzer cargo ratatui-core 0.1.2 text/line/Line#::defaultrust-analyzer cargo ratatui-core 0.1.2 text/line/impl#[`Line<'a>`][Default]default().(),
100 Linerust-analyzer cargo ratatui-core 0.1.2 text/line/Line#::fromrust-analyzer cargo ratatui-core 0.1.2 text/line/impl#[`Line<'a>`][`From<Span<'a>>`]from().(Spanrust-analyzer cargo ratatui-core 0.1.2 text/span/Span#::styledrust-analyzer cargo ratatui-core 0.1.2 text/span/impl#[`Span<'a>`]styled().(formatrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc macros/format!!("◄ {left_name}"), carousel_text_style)),
101 ];
102
103 let right_arrow_text = vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc macros/vec!![
104 Linerust-analyzer cargo ratatui-core 0.1.2 text/line/Line#::defaultrust-analyzer cargo ratatui-core 0.1.2 text/line/impl#[`Line<'a>`][Default]default().(),
105 Linerust-analyzer cargo ratatui-core 0.1.2 text/line/Line#::fromrust-analyzer cargo ratatui-core 0.1.2 text/line/impl#[`Line<'a>`][`From<Span<'a>>`]from().(Spanrust-analyzer cargo ratatui-core 0.1.2 text/span/Span#::styledrust-analyzer cargo ratatui-core 0.1.2 text/span/impl#[`Span<'a>`]styled().(formatrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc macros/format!!("{right_name} ►"), carousel_text_style)),
106 ];
107
108 let margined_draw_loc = Layoutrust-analyzer cargo ratatui-core 0.1.2 layout/layout/Layout#::defaultrust-analyzer cargo ratatui-core 0.1.2 layout/layout/impl#[Layout][Default]default().()
109 .directionrust-analyzer cargo ratatui-core 0.1.2 layout/layout/impl#[Layout]direction().(Directionrust-analyzer cargo ratatui-core 0.1.2 layout/direction/Direction#::Horizontalrust-analyzer cargo ratatui-core 0.1.2 layout/direction/Direction#Horizontal#)
110 .constraintsrust-analyzer cargo ratatui-core 0.1.2 layout/layout/impl#[Layout]constraints().([
111 Constraintrust-analyzer cargo ratatui-core 0.1.2 layout/constraint/Constraint#::Lengthrust-analyzer cargo ratatui-core 0.1.2 layout/constraint/Constraint#Length#(2 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().left_name.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]len().() as u16),
112 Constraintrust-analyzer cargo ratatui-core 0.1.2 layout/constraint/Constraint#::Lengthrust-analyzer cargo ratatui-core 0.1.2 layout/constraint/Constraint#Length#(num_spaces as u16),
113 Constraintrust-analyzer cargo ratatui-core 0.1.2 layout/constraint/Constraint#::Lengthrust-analyzer cargo ratatui-core 0.1.2 layout/constraint/Constraint#Length#(2 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().right_name.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]len().() as u16),
114 ])
115 .horizontal_marginrust-analyzer cargo ratatui-core 0.1.2 layout/layout/impl#[Layout]horizontal_margin().(1)
116 .splitrust-analyzer cargo ratatui-core 0.1.2 layout/layout/impl#[Layout]split().(draw_loc);
117
118 // Done like this for now since it's easier to just manually paint instead of
119 // dealing with blocks.
120 f.buffer_mutrust-analyzer cargo ratatui-core 0.1.2 terminal/frame/impl#[`Frame<'_>`]buffer_mut().()
121 .set_stylerust-analyzer cargo ratatui-core 0.1.2 buffer/buffer/impl#[Buffer]set_style().(draw_loc, self.stylesrust-analyzer cargo bottom 0.14.9 canvas/Painter#styles..general_widget_stylerust-analyzer cargo bottom 0.14.9 options/config/style/Styles#general_widget_style.);
122
123 f.render_widgetrust-analyzer cargo ratatui-core 0.1.2 terminal/frame/impl#[`Frame<'_>`]render_widget().(
124 Paragraphrust-analyzer cargo ratatui-widgets 0.3.2 paragraph/Paragraph#::newrust-analyzer cargo ratatui-widgets 0.3.2 paragraph/impl#[`Paragraph<'a>`]new().(left_arrow_text).blockrust-analyzer cargo ratatui-widgets 0.3.2 paragraph/impl#[`Paragraph<'a>`]block().(Blockrust-analyzer cargo ratatui-widgets 0.3.2 block/Block#::defaultrust-analyzer cargo ratatui-widgets 0.3.2 block/impl#[`Block<'a>`][Default]default().()),
125 margined_draw_loc[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().,
126 );
127 f.render_widgetrust-analyzer cargo ratatui-core 0.1.2 terminal/frame/impl#[`Frame<'_>`]render_widget().(
128 Paragraphrust-analyzer cargo ratatui-widgets 0.3.2 paragraph/Paragraph#::newrust-analyzer cargo ratatui-widgets 0.3.2 paragraph/impl#[`Paragraph<'a>`]new().(right_arrow_text)
129 .blockrust-analyzer cargo ratatui-widgets 0.3.2 paragraph/impl#[`Paragraph<'a>`]block().(Blockrust-analyzer cargo ratatui-widgets 0.3.2 block/Block#::defaultrust-analyzer cargo ratatui-widgets 0.3.2 block/impl#[`Block<'a>`][Default]default().())
130 .alignmentrust-analyzer cargo ratatui-widgets 0.3.2 paragraph/impl#[`Paragraph<'a>`]alignment().(Alignmentrust-analyzer cargo ratatui-core 0.1.2 layout/alignment/Alignment#::Rightrust-analyzer cargo ratatui-core 0.1.2 layout/alignment/HorizontalAlignment#Right#),
131 margined_draw_loc[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().2]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().,
132 );
133
134 if app_state.should_get_widget_boundsrust-analyzer cargo bottom 0.14.9 app/impl#[App]should_get_widget_bounds().() {
135 // Some explanations for future readers:
136 // - The "height" as of writing of this entire widget is 2. If it's 1, it
137 // occasionally doesn't draw.
138 // - As such, the buttons are only on the lower part of this 2-high widget.
139 // - So, we want to only check at one location, the `draw_loc.y + 1`, and that's
140 // it.
141 // - But why is it "+2" then? Well, it's because I have a REALLY ugly hack
142 // for mouse button checking, since most button checks are of the form `(draw_loc.y + draw_loc.height)`,
143 // and the same for the x and width. Unfortunately, if you check using >= and <=, the outer bound is
144 // actually too large - so, we assume all of them are one too big and check via < (see
145 // https://github.com/ClementTsang/bottom/pull/459 for details).
146 // - So in other words, to make it simple, we keep this to a standard and
147 // overshoot by one here.
148 if let Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(basic_table) = &mut app_state.statesrust-analyzer cargo bottom 0.14.9 app/App#states..basic_table_widget_staterust-analyzer cargo bottom 0.14.9 app/states/AppWidgetStates#basic_table_widget_state. {
149 basic_table.left_tlcrust-analyzer cargo bottom 0.14.9 app/states/BasicTableWidgetState#left_tlc. =
150 Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#((margined_draw_loc[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..xrust-analyzer cargo ratatui-core 0.1.2 layout/rect/Rect#x., margined_draw_loc[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..yrust-analyzer cargo ratatui-core 0.1.2 layout/rect/Rect#y. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().1));
151 basic_table.left_brcrust-analyzer cargo bottom 0.14.9 app/states/BasicTableWidgetState#left_brc. = Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#((
152 margined_draw_loc[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..xrust-analyzer cargo ratatui-core 0.1.2 layout/rect/Rect#x. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().margined_draw_loc[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..widthrust-analyzer cargo ratatui-core 0.1.2 layout/rect/Rect#width.,
153 margined_draw_loc[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..yrust-analyzer cargo ratatui-core 0.1.2 layout/rect/Rect#y. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().2,
154 ));
155 basic_table.right_tlcrust-analyzer cargo bottom 0.14.9 app/states/BasicTableWidgetState#right_tlc. =
156 Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#((margined_draw_loc[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().2]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..xrust-analyzer cargo ratatui-core 0.1.2 layout/rect/Rect#x., margined_draw_loc[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().2]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..yrust-analyzer cargo ratatui-core 0.1.2 layout/rect/Rect#y. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().1));
157 basic_table.right_brcrust-analyzer cargo bottom 0.14.9 app/states/BasicTableWidgetState#right_brc. = Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#((
158 margined_draw_loc[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().2]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..xrust-analyzer cargo ratatui-core 0.1.2 layout/rect/Rect#x. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().margined_draw_loc[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().2]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..widthrust-analyzer cargo ratatui-core 0.1.2 layout/rect/Rect#width.,
159 margined_draw_loc[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().2]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..yrust-analyzer cargo ratatui-core 0.1.2 layout/rect/Rect#y. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[u16][`Add<Self>`]add().2,
160 ));
161 }
162 }
163 }
164 }
165 }