Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/It4innovations/hyperqueue
/ has_items
Method
has_items
crates/hyperqueue/src/dashboard/ui/widgets/table.rs:137–139 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
135
136
impl<T> StatefulTable<T> {
137
fn has_items(&self) -> bool {
138
!self.items.is_empty()
139
}
140
141
fn select_last(&mut self) {
142
if self.has_items() {
Callers
5
set_items
Method · 0.80
select_next_wrap
Method · 0.80
select_previous_wrap
Method · 0.80
draw
Method · 0.80
select_last
Method · 0.80
Calls
1
is_empty
Method · 0.45
Tested by
no test coverage detected