pub struct LineGauge<'a> { /* private fields */ }
Expand description
A compact widget to display a task progress over a single line.
§Examples:
LineGauge::default()
.block(Block::default().borders(Borders::ALL).title("Progress"))
.gauge_style(Style::default().fg(Color::White).bg(Color::Black).add_modifier(Modifier::BOLD))
.line_set(symbols::line::THICK)
.ratio(0.4);
Implementations§
Source§impl<'a> LineGauge<'a>
impl<'a> LineGauge<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for LineGauge<'a>
impl<'a> RefUnwindSafe for LineGauge<'a>
impl<'a> Send for LineGauge<'a>
impl<'a> Sync for LineGauge<'a>
impl<'a> Unpin for LineGauge<'a>
impl<'a> UnwindSafe for LineGauge<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more