Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JustRoccat/rs-pug
/ functions
Functions
271 in github.com/JustRoccat/rs-pug
⨍
Functions
271
◇
Types & classes
70
↓ 89 callers
Method
len
(&self)
src/ui_helpers.rs:75
↓ 62 callers
Method
set_flash
(&mut self, msg: impl Into<String>, seconds: u64)
src/model.rs:500
↓ 59 callers
Method
get_color
(&self, field: &str)
src/config.rs:62
↓ 18 callers
Method
push_plugin_warning
(&mut self, warning: String)
src/model.rs:505
↓ 16 callers
Method
warn
( &self, level: PluginWarningLevel, plugin: Option<&LuaPlugin>, hook: Option<&
src/plugins.rs:532
↓ 12 callers
Function
natural_compare
(a: &str, b: &str)
src/utils.rs:1
↓ 9 callers
Function
ensure_playlist_state
(app: &mut App)
src/playlist.rs:167
↓ 9 callers
Method
next
(self)
src/model.rs:71
↓ 9 callers
Method
read_hook
(&self, plugin: &LuaPlugin, hook: &str)
src/plugins.rs:968
↓ 8 callers
Function
panel_item_line
(item: &PluginPanelItem, pal: &Palette)
src/tui.rs:375
↓ 8 callers
Method
send_mpv
(&self, message: Value)
src/core.rs:318
↓ 7 callers
Function
refresh_local_visible_window
(app: &mut App)
src/ui_helpers.rs:55
↓ 6 callers
Function
cycle_keybind_char
(current: char, delta: isize)
src/ui_helpers.rs:378
↓ 6 callers
Method
load_local_songs_paginated
Loads a page of local songs from the database. # Arguments `limit` - The maximum number of songs to return. `offset` - The number of songs to skip be
src/db.rs:242
↓ 5 callers
Function
centered_rect
(percent_x: u16, percent_y: u16, r: Rect)
src/tui.rs:2120
↓ 5 callers
Method
drain_warnings
(&self)
src/plugins.rs:525
↓ 5 callers
Function
get_local_nav_len
(app: &App)
src/input.rs:826
↓ 5 callers
Method
label
(self)
src/model.rs:81
↓ 5 callers
Method
refresh
(&mut self)
src/main.rs:640
↓ 5 callers
Method
save_playlists
(&mut self, playlists: &[crate::model::Playlist])
src/db.rs:369
↓ 5 callers
Function
send_eq_update
(cmd_tx: &mpsc::UnboundedSender<CoreCmd>, bands: [f32; 10])
src/eq.rs:17
↓ 4 callers
Function
cycle_eq_preset
(app: &mut App, cmd_tx: &mpsc::UnboundedSender<CoreCmd>, delta: isize)
src/eq.rs:6
↓ 4 callers
Function
draw_custom_sections
( frame: &mut Frame, app: &App, pal: &Palette, anim: Color, position: &str, area: Rect
src/tui.rs:1601
↓ 4 callers
Method
fetch_local_songs_window
( &self, target_index: usize, window_size: usize, )
src/storage.rs:100
↓ 4 callers
Function
scroll_selection
(app: &mut App, delta: isize, local_nav_len: usize)
src/ui_helpers.rs:184
↓ 3 callers
Method
active_tab_index
(&self)
src/model.rs:638
↓ 3 callers
Function
add_to_named_playlist
(app: &mut App, song: Song, name: &str)
src/playlist.rs:14
↓ 3 callers
Method
build_config
(&self)
src/model.rs:588
↓ 3 callers
Method
collect_ui_config
(&self, state: &PluginUiState)
src/plugins.rs:627
↓ 3 callers
Method
collect_ui_panels
(&self, state: &PluginUiState)
src/plugins.rs:886
↓ 3 callers
Method
collect_ui_update
(&self, state: &PluginUiState)
src/plugins.rs:783
↓ 3 callers
Function
default_main_tabs
()
src/model.rs:223
↓ 3 callers
Function
dim_item
(text: &'static str, pal: &Palette)
src/tui.rs:1357
↓ 3 callers
Function
get_local_nav_items
(app: &App)
src/ui_helpers.rs:84
↓ 3 callers
Method
queue_selection
(&self)
src/model.rs:527
↓ 3 callers
Function
remove_selected_queue_song
(app: &mut App)
src/playlist.rs:141
↓ 3 callers
Method
run_fold
(&self, mut value: T, hook: &str)
src/plugins.rs:1005
↓ 3 callers
Function
save_config
(config: &Config)
src/config.rs:273
↓ 3 callers
Function
scan_local_library
(config: &Config)
src/core.rs:656
↓ 3 callers
Function
set_filter_from_selected
(app: &mut App, kind: char)
src/input.rs:1005
↓ 3 callers
Function
theme_to_str
(theme: &Theme)
src/config.rs:349
↓ 2 callers
Function
activate_main_tab
(app: &mut App, index: usize)
src/events.rs:555
↓ 2 callers
Function
activate_tab_by_render_index
(app: &mut App, tab_index: usize)
src/input.rs:709
↓ 2 callers
Function
add_to_selected_playlist
(app: &mut App, song: Song)
src/playlist.rs:123
↓ 2 callers
Method
apply_config
(&mut self, cfg: &Config)
src/model.rs:573
↓ 2 callers
Function
apply_layout_config
(app: &mut App, layout: PluginLayoutConfig)
src/events.rs:397
↓ 2 callers
Function
apply_layout_dimensions
( app: &mut App, queue_width_percent: Option<u16>, visualizer_height: Option<u16>, tab_bar_pos
src/events.rs:443
↓ 2 callers
Function
apply_plugin_dispatch
( app: &mut App, cmd_tx: &mpsc::UnboundedSender<CoreCmd>, dispatch: PluginDispatch, )
src/events.rs:184
↓ 2 callers
Function
apply_tag_value
( song: &mut crate::model::LocalSong, field: LocalTagField, value: String, )
src/input.rs:881
↓ 2 callers
Function
check_and_refresh_library
( config: &Config, storage: &crate::storage::Storage, )
src/core.rs:775
↓ 2 callers
Function
clear_local_filters
(app: &mut App)
src/input.rs:964
↓ 2 callers
Method
collect_ui_sections
(&self, state: &PluginUiState)
src/plugins.rs:677
↓ 2 callers
Function
config_paths
()
src/config.rs:283
↓ 2 callers
Function
config_resource_dir
(kind: &str)
src/main.rs:689
↓ 2 callers
Method
current_selection
(&self)
src/model.rs:523
↓ 2 callers
Function
custom_sections_height
(app: &App, position: &str)
src/tui.rs:172
↓ 2 callers
Method
dispatch_key
(&self, key: &str, state: &PluginUiState)
src/plugins.rs:564
↓ 2 callers
Function
draw_queue_panel
(frame: &mut Frame, app: &App, pal: &Palette, anim: Color, area: Rect)
src/tui.rs:1104
↓ 2 callers
Function
draw_results_panel
(frame: &mut Frame, app: &App, pal: &Palette, anim: Color, area: Rect)
src/tui.rs:480
↓ 2 callers
Function
export_selected_playlist_action
(app: &mut App)
src/playlist.rs:64
↓ 2 callers
Function
get_available_themes
()
src/config.rs:371
↓ 2 callers
Function
horizontal_tab_index
(app: &App, column: u16, terminal_width: u16)
src/input.rs:777
↓ 2 callers
Function
import_playlist_action
(app: &mut App)
src/playlist.rs:32
↓ 2 callers
Method
label
(&self)
src/plugins.rs:31
↓ 2 callers
Function
load_config
()
src/config.rs:259
↓ 2 callers
Function
load_eq_presets
()
src/config.rs:27
↓ 2 callers
Function
lua_table_has_key
(table: &Table, key: &str)
src/plugins.rs:1339
↓ 2 callers
Method
merge_dispatch
(&self, merged: &mut PluginDispatch, plugin: &LuaPlugin, output: Value)
src/plugins.rs:917
↓ 2 callers
Function
merge_layout_config
(target: &mut PluginLayoutConfig, source: PluginLayoutConfig)
src/plugins.rs:1353
↓ 2 callers
Method
migrate_local_metadata_columns
(&self)
src/db.rs:48
↓ 2 callers
Function
plugin_panel_lines
(panel: &crate::plugins::PluginPanel, pal: &Palette)
src/tui.rs:439
↓ 2 callers
Method
read_mpv_number_property
(&self, property: &str)
src/core.rs:469
↓ 2 callers
Function
remove_selected_playlist_song
(app: &mut App)
src/playlist.rs:151
↓ 2 callers
Method
save_local_songs_bulk
(&mut self, songs: &[crate::model::LocalSong])
src/db.rs:283
↓ 2 callers
Function
selected_local_song_clone
(app: &App)
src/input.rs:862
↓ 2 callers
Method
selected_song_for_context
(&self)
src/model.rs:531
↓ 2 callers
Function
setup_db
()
src/db.rs:507
↓ 2 callers
Function
side_tabs_width
(app: &App, terminal_width: u16)
src/input.rs:765
↓ 2 callers
Function
start_next_plugin_key
( plugin_manager: &Arc<Mutex<PluginManager>>, plugin_tx: &mpsc::UnboundedSender<PluginTaskResult>,
src/main.rs:449
↓ 2 callers
Function
tab_defs_and_active
(app: &App)
src/tui.rs:186
↓ 2 callers
Function
tag_value
(song: &crate::model::LocalSong, field: LocalTagField)
src/input.rs:871
↓ 2 callers
Function
theme_from_str
(s: &str)
src/config.rs:360
↓ 2 callers
Function
toggle_search_source
(app: &mut App, cmd_tx: &mpsc::UnboundedSender<CoreCmd>)
src/input.rs:834
↓ 2 callers
Function
update_local_library_window
(app: &mut App)
src/ui_helpers.rs:292
↓ 2 callers
Function
update_section_visibility
(app: &mut App, hide: Vec<String>, show: Vec<String>)
src/events.rs:570
↓ 2 callers
Function
user_config_path
()
src/config.rs:289
↓ 2 callers
Function
vertical_tab_index
(row: u16, tab_count: usize)
src/input.rs:773
↓ 2 callers
Method
warn_invalid_layout_shape
( &self, plugin: &LuaPlugin, hook: &str, ui_err: mlua::Error, layout_e
src/plugins.rs:869
↓ 1 callers
Function
activate_numbered_tab
(app: &mut App, key: char)
src/input.rs:698
↓ 1 callers
Function
apply_custom_sections
(app: &mut App, sections: Vec<crate::plugins::PluginCustomSection>)
src/events.rs:496
↓ 1 callers
Function
apply_event
(app: &mut App, event: CoreEvent)
src/events.rs:12
↓ 1 callers
Method
apply_keybinds
(&mut self, keybinds: &KeybindsConfig)
src/model.rs:649
↓ 1 callers
Function
apply_layout_hide
(app: &mut App, hidden_items: Vec<String>)
src/events.rs:481
↓ 1 callers
Function
apply_layout_patch
(app: &mut App, patch: PluginUiLayoutPatch)
src/events.rs:427
↓ 1 callers
Function
apply_queue_position
(app: &mut App, raw: &str, source: &str)
src/events.rs:536
↓ 1 callers
Function
apply_tab_bar_position
(app: &mut App, raw: &str, source: &str)
src/events.rs:525
↓ 1 callers
Function
apply_tabs_width
(app: &mut App, value: u16, source: &str)
src/events.rs:545
↓ 1 callers
Function
apply_ui_config
(app: &mut App, config: PluginUiConfig)
src/events.rs:309
↓ 1 callers
Function
build_local_song_list
( songs: &'a [crate::model::LocalSong], selected: usize, focused: bool, pal: &'a Palette,
src/tui.rs:912
↓ 1 callers
Function
build_organized_local_list
( app: &'a App, focused: bool, pal: &'a Palette, anim: Color, )
src/tui.rs:968
next →
1–100 of 271, ranked by callers