SYMBOL INDEX (728 symbols across 58 files) FILE: examples/barchart.rs type App (line 19) | struct App<'a> { function new (line 24) | fn new() -> App<'a> { function on_tick (line 55) | fn on_tick(&mut self) { function main (line 61) | fn main() -> Result<(), Box> { function run_app (line 90) | fn run_app( function ui (line 116) | fn ui(f: &mut Frame, app: &App) { FILE: examples/block.rs function main (line 16) | fn main() -> Result<(), Box> { function run_app (line 43) | fn run_app(terminal: &mut Terminal) -> io::Result<()> { function ui (line 55) | fn ui(f: &mut Frame) { FILE: examples/canvas.rs type App (line 23) | struct App { method new (line 35) | fn new() -> App { method on_tick (line 54) | fn on_tick(&mut self) { function main (line 80) | fn main() -> Result<(), Box> { function run_app (line 109) | fn run_app( function ui (line 151) | fn ui(f: &mut Frame, app: &App) { FILE: examples/chart.rs constant DATA (line 21) | const DATA: [(f64, f64); 5] = [(0.0, 0.0), (1.0, 1.0), (2.0, 2.0), (3.0,... constant DATA2 (line 22) | const DATA2: [(f64, f64); 7] = [ type SinSignal (line 33) | pub struct SinSignal { method new (line 41) | pub fn new(interval: f64, period: f64, scale: f64) -> SinSignal { type Item (line 52) | type Item = (f64, f64); method next (line 53) | fn next(&mut self) -> Option { type App (line 60) | struct App { method new (line 69) | fn new() -> App { method on_tick (line 83) | fn on_tick(&mut self) { function main (line 97) | fn main() -> Result<(), Box> { function run_app (line 126) | fn run_app( function ui (line 152) | fn ui(f: &mut Frame, app: &App) { FILE: examples/custom_widget.rs type Label (line 17) | struct Label<'a> { method render (line 22) | fn render(self, area: Rect, buf: &mut Buffer) { function text (line 28) | fn text(mut self, text: &'a str) -> Label<'a> { function main (line 34) | fn main() -> Result<(), Box> { function run_app (line 61) | fn run_app(terminal: &mut Terminal) -> io::Result<()> { function ui (line 73) | fn ui(f: &mut Frame) { FILE: examples/demo/app.rs constant TASKS (line 7) | const TASKS: [&str; 24] = [ constant LOGS (line 13) | const LOGS: [(&str, &str); 26] = [ constant EVENTS (line 42) | const EVENTS: [(&str, u64); 24] = [ type RandomSignal (line 70) | pub struct RandomSignal { method new (line 76) | pub fn new(lower: u64, upper: u64) -> RandomSignal { type Item (line 85) | type Item = u64; method next (line 86) | fn next(&mut self) -> Option { type SinSignal (line 92) | pub struct SinSignal { method new (line 100) | pub fn new(interval: f64, period: f64, scale: f64) -> SinSignal { type Item (line 111) | type Item = (f64, f64); method next (line 112) | fn next(&mut self) -> Option { type TabsState (line 119) | pub struct TabsState<'a> { function new (line 125) | pub fn new(titles: Vec<&'a str>) -> TabsState { function next (line 128) | pub fn next(&mut self) { function previous (line 132) | pub fn previous(&mut self) { type StatefulList (line 141) | pub struct StatefulList { function with_items (line 147) | pub fn with_items(items: Vec) -> StatefulList { function next (line 154) | pub fn next(&mut self) { function previous (line 168) | pub fn previous(&mut self) { type Signal (line 183) | pub struct Signal { function on_tick (line 193) | fn on_tick(&mut self) { type Signals (line 202) | pub struct Signals { method on_tick (line 209) | fn on_tick(&mut self) { type Server (line 217) | pub struct Server<'a> { type App (line 224) | pub struct App<'a> { function new (line 240) | pub fn new(title: &'a str, enhanced_graphics: bool) -> App<'a> { function on_up (line 304) | pub fn on_up(&mut self) { function on_down (line 308) | pub fn on_down(&mut self) { function on_right (line 312) | pub fn on_right(&mut self) { function on_left (line 316) | pub fn on_left(&mut self) { function on_key (line 320) | pub fn on_key(&mut self, c: char) { function on_tick (line 332) | pub fn on_tick(&mut self) { FILE: examples/demo/crossterm.rs function run (line 17) | pub fn run(tick_rate: Duration, enhanced_graphics: bool) -> Result<(), B... function run_app (line 45) | fn run_app( FILE: examples/demo/main.rs type Cli (line 17) | struct Cli { function main (line 26) | fn main() -> Result<(), Box> { FILE: examples/demo/termion.rs function run (line 14) | pub fn run(tick_rate: Duration, enhanced_graphics: bool) -> Result<(), B... function run_app (line 29) | fn run_app( type Event (line 55) | enum Event { function events (line 60) | fn events(tick_rate: Duration) -> mpsc::Receiver { FILE: examples/demo/ui.rs function draw (line 16) | pub fn draw(f: &mut Frame, app: &mut App) { function draw_first_tab (line 39) | fn draw_first_tab(f: &mut Frame, app: &mut App, area: Rect) function draw_gauges (line 58) | fn draw_gauges(f: &mut Frame, app: &mut App, area: Rect) function draw_charts (line 112) | fn draw_charts(f: &mut Frame, app: &mut App, area: Rect) function draw_text (line 259) | fn draw_text(f: &mut Frame, area: Rect) function draw_second_tab (line 300) | fn draw_second_tab(f: &mut Frame, app: &mut App, area: Rect) function draw_third_tab (line 383) | fn draw_third_tab(f: &mut Frame, _app: &mut App, area: Rect) FILE: examples/gauge.rs type App (line 20) | struct App { method new (line 28) | fn new() -> App { method on_tick (line 37) | fn on_tick(&mut self) { function main (line 57) | fn main() -> Result<(), Box> { function run_app (line 86) | fn run_app( function ui (line 112) | fn ui(f: &mut Frame, app: &App) { FILE: examples/layout.rs function main (line 14) | fn main() -> Result<(), Box> { function run_app (line 41) | fn run_app(terminal: &mut Terminal) -> io::Result<()> { function ui (line 53) | fn ui(f: &mut Frame) { FILE: examples/list.rs type StatefulList (line 20) | struct StatefulList { function with_items (line 26) | fn with_items(items: Vec) -> StatefulList { function next (line 33) | fn next(&mut self) { function previous (line 47) | fn previous(&mut self) { function unselect (line 61) | fn unselect(&mut self) { type App (line 72) | struct App<'a> { function new (line 78) | fn new() -> App<'a> { function on_tick (line 140) | fn on_tick(&mut self) { function main (line 146) | fn main() -> Result<(), Box> { function run_app (line 175) | fn run_app( function ui (line 205) | fn ui(f: &mut Frame, app: &mut App) { FILE: examples/panic.rs type Result (line 33) | type Result = std::result::Result>; type App (line 36) | struct App { method chain_hook (line 41) | fn chain_hook(&mut self) { function main (line 53) | fn main() -> Result<()> { function init_terminal (line 69) | fn init_terminal() -> Result>> { function reset_terminal (line 82) | fn reset_terminal() -> Result<()> { function run_tui (line 90) | fn run_tui(terminal: &mut Terminal, app: &mut App) -> io:... function ui (line 113) | fn ui(f: &mut Frame, app: &App) { FILE: examples/paragraph.rs type App (line 20) | struct App { method new (line 25) | fn new() -> App { method on_tick (line 29) | fn on_tick(&mut self) { function main (line 35) | fn main() -> Result<(), Box> { function run_app (line 64) | fn run_app( function ui (line 90) | fn ui(f: &mut Frame, app: &App) { FILE: examples/popup.rs type App (line 17) | struct App { method new (line 22) | fn new() -> App { function main (line 27) | fn main() -> Result<(), Box> { function run_app (line 55) | fn run_app(terminal: &mut Terminal, mut app: App) -> io::... function ui (line 69) | fn ui(f: &mut Frame, app: &App) { function centered_rect (line 104) | fn centered_rect(percent_x: u16, percent_y: u16, r: Rect) -> Rect { FILE: examples/sparkline.rs type RandomSignal (line 24) | pub struct RandomSignal { method new (line 30) | pub fn new(lower: u64, upper: u64) -> RandomSignal { type Item (line 39) | type Item = u64; method next (line 40) | fn next(&mut self) -> Option { type App (line 45) | struct App { method new (line 53) | fn new() -> App { method on_tick (line 66) | fn on_tick(&mut self) { function main (line 79) | fn main() -> Result<(), Box> { function run_app (line 108) | fn run_app( function ui (line 134) | fn ui(f: &mut Frame, app: &App) { FILE: examples/table.rs type App (line 15) | struct App<'a> { function new (line 21) | fn new() -> App<'a> { function next (line 47) | pub fn next(&mut self) { function previous (line 61) | pub fn previous(&mut self) { function main (line 76) | fn main() -> Result<(), Box> { function run_app (line 104) | fn run_app(terminal: &mut Terminal, mut app: App) -> io::... function ui (line 119) | fn ui(f: &mut Frame, app: &mut App) { FILE: examples/tabs.rs type App (line 16) | struct App<'a> { function new (line 22) | fn new() -> App<'a> { function next (line 29) | pub fn next(&mut self) { function previous (line 33) | pub fn previous(&mut self) { function main (line 42) | fn main() -> Result<(), Box> { function run_app (line 70) | fn run_app(terminal: &mut Terminal, mut app: App) -> io::... function ui (line 85) | fn ui(f: &mut Frame, app: &App) { FILE: examples/user_input.rs type InputMode (line 28) | enum InputMode { type App (line 34) | struct App { method default (line 44) | fn default() -> App { function main (line 53) | fn main() -> Result<(), Box> { function run_app (line 81) | fn run_app(terminal: &mut Terminal, mut app: App) -> io::... function ui (line 116) | fn ui(f: &mut Frame, app: &App) { FILE: src/backend/crossterm.rs type CrosstermBackend (line 18) | pub struct CrosstermBackend { function new (line 26) | pub fn new(buffer: W) -> CrosstermBackend { method write (line 35) | fn write(&mut self, buf: &[u8]) -> io::Result { method flush (line 39) | fn flush(&mut self) -> io::Result<()> { method draw (line 48) | fn draw<'a, I>(&mut self, content: I) -> io::Result<()> method hide_cursor (line 92) | fn hide_cursor(&mut self) -> io::Result<()> { method show_cursor (line 96) | fn show_cursor(&mut self) -> io::Result<()> { method get_cursor (line 100) | fn get_cursor(&mut self) -> io::Result<(u16, u16)> { method set_cursor (line 105) | fn set_cursor(&mut self, x: u16, y: u16) -> io::Result<()> { method clear (line 109) | fn clear(&mut self) -> io::Result<()> { method size (line 113) | fn size(&self) -> io::Result { method flush (line 120) | fn flush(&mut self) -> io::Result<()> { function map_error (line 125) | fn map_error(error: crossterm::Result<()>) -> io::Result<()> { method from (line 130) | fn from(color: Color) -> Self { type ModifierDiff (line 156) | struct ModifierDiff { method queue (line 162) | fn queue(&self, mut w: W) -> io::Result<()> FILE: src/backend/mod.rs type Backend (line 19) | pub trait Backend { method draw (line 20) | fn draw<'a, I>(&mut self, content: I) -> Result<(), io::Error> method hide_cursor (line 23) | fn hide_cursor(&mut self) -> Result<(), io::Error>; method show_cursor (line 24) | fn show_cursor(&mut self) -> Result<(), io::Error>; method get_cursor (line 25) | fn get_cursor(&mut self) -> Result<(u16, u16), io::Error>; method set_cursor (line 26) | fn set_cursor(&mut self, x: u16, y: u16) -> Result<(), io::Error>; method clear (line 27) | fn clear(&mut self) -> Result<(), io::Error>; method size (line 28) | fn size(&self) -> Result; method flush (line 29) | fn flush(&mut self) -> Result<(), io::Error>; FILE: src/backend/termion.rs type TermionBackend (line 12) | pub struct TermionBackend function new (line 23) | pub fn new(stdout: W) -> TermionBackend { method write (line 32) | fn write(&mut self, buf: &[u8]) -> io::Result { method flush (line 36) | fn flush(&mut self) -> io::Result<()> { method clear (line 46) | fn clear(&mut self) -> io::Result<()> { method hide_cursor (line 53) | fn hide_cursor(&mut self) -> io::Result<()> { method show_cursor (line 59) | fn show_cursor(&mut self) -> io::Result<()> { method get_cursor (line 65) | fn get_cursor(&mut self) -> io::Result<(u16, u16)> { method set_cursor (line 70) | fn set_cursor(&mut self, x: u16, y: u16) -> io::Result<()> { method draw (line 75) | fn draw<'a, I>(&mut self, content: I) -> io::Result<()> method size (line 125) | fn size(&self) -> io::Result { method flush (line 130) | fn flush(&mut self) -> io::Result<()> { type Fg (line 135) | struct Fg(Color); method fmt (line 145) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Bg (line 137) | struct Bg(Color); method fmt (line 171) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type ModifierDiff (line 139) | struct ModifierDiff { method fmt (line 198) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { FILE: src/backend/test.rs type TestBackend (line 11) | pub struct TestBackend { method new (line 49) | pub fn new(width: u16, height: u16) -> TestBackend { method buffer (line 59) | pub fn buffer(&self) -> &Buffer { method resize (line 63) | pub fn resize(&mut self, width: u16, height: u16) { method assert_buffer (line 69) | pub fn assert_buffer(&self, expected: &Buffer) { function buffer_view (line 20) | fn buffer_view(buffer: &Buffer) -> String { method draw (line 109) | fn draw<'a, I>(&mut self, content: I) -> Result<(), io::Error> method hide_cursor (line 120) | fn hide_cursor(&mut self) -> Result<(), io::Error> { method show_cursor (line 125) | fn show_cursor(&mut self) -> Result<(), io::Error> { method get_cursor (line 130) | fn get_cursor(&mut self) -> Result<(u16, u16), io::Error> { method set_cursor (line 134) | fn set_cursor(&mut self, x: u16, y: u16) -> Result<(), io::Error> { method clear (line 139) | fn clear(&mut self) -> Result<(), io::Error> { method size (line 144) | fn size(&self) -> Result { method flush (line 148) | fn flush(&mut self) -> Result<(), io::Error> { FILE: src/buffer.rs type Cell (line 12) | pub struct Cell { method set_symbol (line 20) | pub fn set_symbol(&mut self, symbol: &str) -> &mut Cell { method set_char (line 26) | pub fn set_char(&mut self, ch: char) -> &mut Cell { method set_fg (line 32) | pub fn set_fg(&mut self, color: Color) -> &mut Cell { method set_bg (line 37) | pub fn set_bg(&mut self, color: Color) -> &mut Cell { method set_style (line 42) | pub fn set_style(&mut self, style: Style) -> &mut Cell { method style (line 54) | pub fn style(&self) -> Style { method reset (line 61) | pub fn reset(&mut self) { method default (line 71) | fn default() -> Cell { type Buffer (line 109) | pub struct Buffer { method empty (line 119) | pub fn empty(area: Rect) -> Buffer { method filled (line 125) | pub fn filled(area: Rect, cell: &Cell) -> Buffer { method with_lines (line 135) | pub fn with_lines(lines: Vec) -> Buffer method content (line 158) | pub fn content(&self) -> &[Cell] { method area (line 163) | pub fn area(&self) -> &Rect { method get (line 168) | pub fn get(&self, x: u16, y: u16) -> &Cell { method get_mut (line 174) | pub fn get_mut(&mut self, x: u16, y: u16) -> &mut Cell { method index_of (line 207) | pub fn index_of(&self, x: u16, y: u16) -> usize { method pos_of (line 248) | pub fn pos_of(&self, i: usize) -> (u16, u16) { method set_string (line 262) | pub fn set_string(&mut self, x: u16, y: u16, string: S, style: Style) method set_stringn (line 271) | pub fn set_stringn( method set_spans (line 309) | pub fn set_spans<'a>(&mut self, x: u16, y: u16, spans: &Spans<'a>, wid... method set_span (line 330) | pub fn set_span<'a>(&mut self, x: u16, y: u16, span: &Span<'a>, width:... method set_background (line 338) | pub fn set_background(&mut self, area: Rect, color: Color) { method set_style (line 346) | pub fn set_style(&mut self, area: Rect, style: Style) { method resize (line 356) | pub fn resize(&mut self, area: Rect) { method reset (line 367) | pub fn reset(&mut self) { method merge (line 374) | pub fn merge(&mut self, other: &Buffer) { method diff (line 431) | pub fn diff<'a>(&self, other: &'a Buffer) -> Vec<(u16, u16, &'a Cell)> { function cell (line 462) | fn cell(s: &str) -> Cell { function it_translates_to_and_from_coordinates (line 469) | fn it_translates_to_and_from_coordinates() { function pos_of_panics_on_out_of_bounds (line 484) | fn pos_of_panics_on_out_of_bounds() { function index_of_panics_on_out_of_bounds (line 494) | fn index_of_panics_on_out_of_bounds() { function buffer_set_string (line 503) | fn buffer_set_string() { function buffer_set_string_zero_width (line 527) | fn buffer_set_string_zero_width() { function buffer_set_string_double_width (line 543) | fn buffer_set_string_double_width() { function buffer_with_lines (line 555) | fn buffer_with_lines() { function buffer_diffing_empty_empty (line 565) | fn buffer_diffing_empty_empty() { function buffer_diffing_empty_filled (line 574) | fn buffer_diffing_empty_filled() { function buffer_diffing_filled_filled (line 583) | fn buffer_diffing_filled_filled() { function buffer_diffing_single_width (line 592) | fn buffer_diffing_single_width() { function buffer_diffing_multi_width (line 621) | fn buffer_diffing_multi_width() { function buffer_diffing_multi_width_offset (line 644) | fn buffer_diffing_multi_width_offset() { function buffer_merge (line 656) | fn buffer_merge() { function buffer_merge2 (line 680) | fn buffer_merge2() { function buffer_merge3 (line 707) | fn buffer_merge3() { FILE: src/layout.rs type Corner (line 10) | pub enum Corner { type Direction (line 18) | pub enum Direction { type Constraint (line 24) | pub enum Constraint { method apply (line 34) | pub fn apply(&self, length: u16) -> u16 { type Margin (line 49) | pub struct Margin { type Alignment (line 55) | pub enum Alignment { type Layout (line 62) | pub struct Layout { method constraints (line 90) | pub fn constraints(mut self, constraints: C) -> Layout method margin (line 98) | pub fn margin(mut self, margin: u16) -> Layout { method horizontal_margin (line 106) | pub fn horizontal_margin(mut self, horizontal: u16) -> Layout { method vertical_margin (line 111) | pub fn vertical_margin(mut self, vertical: u16) -> Layout { method direction (line 116) | pub fn direction(mut self, direction: Direction) -> Layout { method expand_to_fill (line 121) | pub(crate) fn expand_to_fill(mut self, expand_to_fill: bool) -> Layout { method split (line 186) | pub fn split(&self, area: Rect) -> Vec { method default (line 76) | fn default() -> Layout { function split (line 197) | fn split(area: Rect, layout: &Layout) -> Vec { type Element (line 330) | struct Element { method new (line 338) | fn new() -> Element { method left (line 347) | fn left(&self) -> Variable { method top (line 351) | fn top(&self) -> Variable { method right (line 355) | fn right(&self) -> Expression { method bottom (line 359) | fn bottom(&self) -> Expression { type Rect (line 367) | pub struct Rect { method new (line 377) | pub fn new(x: u16, y: u16, width: u16, height: u16) -> Rect { method area (line 397) | pub fn area(self) -> u16 { method left (line 401) | pub fn left(self) -> u16 { method right (line 405) | pub fn right(self) -> u16 { method top (line 409) | pub fn top(self) -> u16 { method bottom (line 413) | pub fn bottom(self) -> u16 { method inner (line 417) | pub fn inner(self, margin: &Margin) -> Rect { method union (line 430) | pub fn union(self, other: Rect) -> Rect { method intersection (line 443) | pub fn intersection(self, other: Rect) -> Rect { method intersects (line 456) | pub fn intersects(self, other: Rect) -> bool { function test_vertical_split_by_height (line 469) | fn test_vertical_split_by_height() { function test_rect_size_truncation (line 494) | fn test_rect_size_truncation() { function test_rect_size_preservation (line 521) | fn test_rect_size_preservation() { FILE: src/style.rs type Color (line 7) | pub enum Color { type Style (line 120) | pub struct Style { method reset (line 140) | pub fn reset() -> Style { method fg (line 159) | pub fn fg(mut self, color: Color) -> Style { method bg (line 174) | pub fn bg(mut self, color: Color) -> Style { method add_modifier (line 193) | pub fn add_modifier(mut self, modifier: Modifier) -> Style { method remove_modifier (line 213) | pub fn remove_modifier(mut self, modifier: Modifier) -> Style { method patch (line 232) | pub fn patch(mut self, other: Style) -> Style { method default (line 128) | fn default() -> Style { function styles (line 249) | fn styles() -> Vec