pub struct StaticWidget { /* private fields */ }Expand description
A widget that displays pre-rendered segments without interaction.
Each segment becomes one “line” of content, rendered on successive rows.
Implementations§
Trait Implementations§
Source§impl Clone for StaticWidget
impl Clone for StaticWidget
Source§fn clone(&self) -> StaticWidget
fn clone(&self) -> StaticWidget
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StaticWidget
impl Debug for StaticWidget
Source§impl Widget for StaticWidget
impl Widget for StaticWidget
Source§fn render(&self, area: Rect, buf: &mut ScreenBuffer)
fn render(&self, area: Rect, buf: &mut ScreenBuffer)
Render this widget into the given area of the buffer.
Auto Trait Implementations§
impl Freeze for StaticWidget
impl RefUnwindSafe for StaticWidget
impl Send for StaticWidget
impl Sync for StaticWidget
impl Unpin for StaticWidget
impl UnwindSafe for StaticWidget
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