SYMBOL INDEX (117 symbols across 24 files) FILE: doc-site/src/global.d.ts class Comp (line 6) | class Comp extends SvelteComponent{} FILE: doc-site/vite.config.ts constant DOC_VERSION (line 15) | const DOC_VERSION = fs.readFileSync('DOC_VERSION', 'utf-8').trim() constant DOCS (line 16) | const DOCS = await getDocs('docs-content') type addCodeblockCopyButtonOptions (line 29) | interface addCodeblockCopyButtonOptions { function addCodeblockCopyButton (line 33) | function addCodeblockCopyButton ({ function getDocs (line 73) | async function getDocs(docsPath: string) { FILE: src/action.rs type VolumeType (line 17) | pub enum VolumeType { type Action (line 24) | pub enum Action { method deserialize (line 55) | fn deserialize(deserializer: D) -> Result method run (line 185) | pub fn run(action: &Action, fum: &mut Fum) -> FumResult<()> { FILE: src/cli.rs type Commands (line 7) | pub enum Commands { type FumCli (line 13) | pub struct FumCli { function run (line 33) | pub fn run() -> FumResult<(FumCli, Config)> { FILE: src/config/config.rs type Align (line 12) | pub enum Align { method from_str (line 29) | pub fn from_str(str: &str) -> Option { type Config (line 45) | pub struct Config { method load (line 115) | pub fn load(path: &PathBuf) -> FumResult { method default (line 93) | fn default() -> Self { FILE: src/config/defaults.rs function players (line 9) | pub fn players() -> Vec { vec!["spotify".to_string()] } function use_active_player (line 10) | pub fn use_active_player() -> bool { false } function fps (line 11) | pub fn fps() -> u64 { 10 } function align (line 13) | pub fn align() -> Align { Align::Center } function direction (line 14) | pub fn direction() -> Direction { Direction::Vertical } function flex (line 15) | pub fn flex() -> ContainerFlex { ContainerFlex::Start } function width (line 17) | pub fn width() -> u16 { 19 } function height (line 18) | pub fn height() -> u16 { 15 } function border (line 20) | pub fn border() -> bool { false } function padding (line 22) | pub fn padding() -> [u16; 2] { [0, 0] } function bg (line 24) | pub fn bg() -> Color { Color::Reset } function fg (line 25) | pub fn fg() -> Color { Color::Reset } function cover_art_ascii (line 27) | pub fn cover_art_ascii() -> String { "".to_string() } function keybinds (line 29) | pub fn keybinds() -> HashMap { function layout (line 38) | pub fn layout() -> Vec { FILE: src/config/keybind.rs type Keybind (line 5) | pub enum Keybind { method deserialize (line 28) | fn deserialize(deserializer: D) -> Result method into_keycode (line 49) | pub fn into_keycode(&self) -> KeyCode { method parse_keybind (line 72) | fn parse_keybind(keybind: &str) -> Result FILE: src/fum.rs type FumResult (line 11) | pub type FumResult = std::result::Result>; type Fum (line 13) | pub struct Fum<'a> { function new (line 32) | pub fn new(config: &'a Config) -> FumResult { function run (line 64) | pub fn run(&mut self) -> FumResult<()> { function term_events (line 82) | fn term_events(&mut self) -> FumResult<()> { function update_meta (line 216) | fn update_meta(&mut self) { FILE: src/main.rs function main (line 16) | fn main() -> FumResult<()> { FILE: src/meta.rs type CoverArt (line 12) | pub struct CoverArt { type Meta (line 18) | pub struct Meta { method fetch (line 55) | pub fn fetch(player: &Player, picker: &Picker, current: Option<&Self>)... method get_player (line 100) | pub fn get_player(config: &Config) -> FumResult { method get_metadata (line 136) | pub fn get_metadata(player: &Player) -> FumResult { method get_trackid (line 141) | pub fn get_trackid(metadata: &Metadata) -> FumResult { method get_title (line 148) | pub fn get_title(metadata: &Metadata) -> FumResult { method get_artists (line 157) | pub fn get_artists(metadata: &Metadata) -> FumResult> { method get_status (line 166) | pub fn get_status(player: &Player) -> FumResult { method get_status_icon (line 174) | pub fn get_status_icon(status: &PlaybackStatus) -> char { method get_status_text (line 182) | pub fn get_status_text(status: &PlaybackStatus) -> String { method get_position (line 190) | pub fn get_position(player: &Player) -> FumResult { method get_length (line 197) | pub fn get_length(metadata: &Metadata) -> FumResult { method get_album (line 205) | pub fn get_album(metadata: &Metadata) -> FumResult { method get_volume (line 214) | pub fn get_volume(player: &Player) -> FumResult { method get_custom_meta (line 221) | pub fn get_custom_meta(metadata: &Metadata, key: String) -> String { method get_cover_art (line 246) | pub fn get_cover_art(metadata: &Metadata, picker: &Picker, current: Op... method default (line 35) | fn default() -> Self { FILE: src/state.rs type FumState (line 7) | pub struct FumState { method new (line 19) | pub fn new(meta: Meta) -> Self { FILE: src/text.rs function replace_global_var (line 5) | fn replace_global_var(text: &str, state: &mut FumState) -> String { function replace_text (line 28) | pub fn replace_text(text: &str, state: &mut FumState) -> String { FILE: src/ui.rs type Ui (line 7) | pub struct Ui<'a> { function new (line 12) | pub fn new(config: &'a Config) -> Self { function click (line 18) | pub fn click( function drag (line 37) | pub fn drag( function draw (line 51) | pub fn draw(&mut self, frame: &mut Frame<'_>, state: &mut FumState) { FILE: src/utils/align.rs function center (line 5) | pub fn center(frame: &mut Frame<'_>, width: u16, height: u16) -> Rect { function top (line 17) | pub fn top(frame: &mut Frame<'_>, width: u16, height: u16) -> Rect { function left (line 28) | pub fn left(frame: &mut Frame<'_>, width: u16, height: u16) -> Rect { function bottom (line 39) | pub fn bottom(frame: &mut Frame<'_>, width: u16, height: u16) -> Rect { function right (line 50) | pub fn right(frame: &mut Frame<'_>, width: u16, height: u16) -> Rect { function top_left (line 61) | pub fn top_left(frame: &mut Frame<'_>, width: u16, height: u16) -> Rect { function top_right (line 71) | pub fn top_right(frame: &mut Frame<'_>, width: u16, height: u16) -> Rect { function bottom_left (line 81) | pub fn bottom_left(frame: &mut Frame<'_>, width: u16, height: u16) -> Re... function bottom_right (line 91) | pub fn bottom_right(frame: &mut Frame<'_>, width: u16, height: u16) -> R... function get_align (line 101) | pub fn get_align(frame: &mut Frame<'_>, align: &Align, width: u16, heigh... FILE: src/utils/terminal.rs function restore (line 5) | pub fn restore() { FILE: src/utils/widget.rs function generate_id (line 53) | pub fn generate_id() -> String { function truncate (line 57) | pub fn truncate(string: &str, area_size: usize) -> String { function format_duration (line 68) | pub fn format_duration(duration: Duration, extend: bool) -> String { function format_remaining (line 94) | pub fn format_remaining(current: Duration, total: Duration, extend: bool... FILE: src/widget/button.rs function render (line 7) | pub fn render(widget: &FumWidget, area: Rect, buf: &mut Buffer, state: &... FILE: src/widget/container.rs function render (line 7) | pub fn render(widget: &FumWidget, area: Rect, buf: &mut Buffer, state: &... FILE: src/widget/cover_art.rs function render (line 8) | pub fn render(widget: &FumWidget, area: Rect, buf: &mut Buffer, state: &... FILE: src/widget/empty.rs function render (line 7) | pub fn render(widget: &FumWidget, area: Rect, buf: &mut Buffer, state: &... FILE: src/widget/label.rs function render (line 7) | pub fn render(widget: &FumWidget, area: Rect, buf: &mut Buffer, state: &... FILE: src/widget/progress.rs type Progress (line 7) | struct Progress { function render (line 14) | pub fn render(widget: &FumWidget, area: Rect, buf: &mut Buffer, state: &... FILE: src/widget/volume.rs type Volume (line 7) | struct Volume { function render (line 14) | pub fn render(widget: &FumWidget, area: Rect, buf: &mut Buffer, state: &... FILE: src/widget/widget.rs function default_truncate (line 8) | fn default_truncate() -> bool { true } function default_border (line 9) | fn default_border() -> bool { false } function default_bold (line 10) | fn default_bold() -> bool { false } function default_padding (line 11) | fn default_padding() -> [u16; 2] { [0, 0] } type SliderSource (line 14) | pub enum SliderSource { type Direction (line 21) | pub enum Direction { method to_dir (line 33) | pub fn to_dir(&self) -> ratatui::layout::Direction { method default (line 27) | fn default() -> Self { type LabelAlignment (line 43) | pub enum LabelAlignment { method default (line 50) | fn default() -> Self { type ContainerFlex (line 57) | pub enum ContainerFlex { method to_flex (line 74) | pub fn to_flex(&self) -> ratatui::layout::Flex { method default (line 68) | fn default() -> Self { type CoverArtResize (line 87) | pub enum CoverArtResize { method to_resize (line 100) | pub fn to_resize(&self) -> ratatui_image::Resize { method default (line 94) | fn default() -> Self { type ProgressOption (line 110) | pub struct ProgressOption { type VolumeOption (line 117) | pub struct VolumeOption { type FumWidget (line 126) | pub enum FumWidget { method get_size (line 232) | pub fn get_size(&self, state: &mut FumState) -> Constraint { type State (line 213) | type State = FumState; method render (line 215) | fn render(self, area: Rect, buf: &mut Buffer, state: &mut Self::State)