pub struct StatusBar { /* private fields */ }Expand description
Renders status and control information at the bottom of the screen.
Implementations§
Source§impl StatusBar
impl StatusBar
Sourcepub fn set_pattern(&mut self, pattern: &str)
pub fn set_pattern(&mut self, pattern: &str)
Updates the current pattern name.
Sourcepub fn render(
&mut self,
stdout: &mut StdoutLock<'_>,
scroll: &ScrollState,
) -> Result<(), RendererError>
pub fn render( &mut self, stdout: &mut StdoutLock<'_>, scroll: &ScrollState, ) -> Result<(), RendererError>
Renders the status bar to the terminal.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StatusBar
impl RefUnwindSafe for StatusBar
impl Send for StatusBar
impl Sync for StatusBar
impl Unpin for StatusBar
impl UnwindSafe for StatusBar
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