Implementations§
source§impl<'b, L> List<'b, L>where
L: Iterator<Item = Text<'b>>,
impl<'b, L> List<'b, L>where
L: Iterator<Item = Text<'b>>,
pub fn new(items: L) -> List<'b, L>
pub fn block(self, block: Block<'b>) -> List<'b, L>
pub fn items<I>(self, items: I) -> List<'b, L>where
I: IntoIterator<Item = Text<'b>, IntoIter = L>,
pub fn style(self, style: Style) -> List<'b, L>
pub fn start_corner(self, corner: Corner) -> List<'b, L>
Trait Implementations§
source§impl<'b, L> Widget for List<'b, L>where
L: Iterator<Item = Text<'b>>,
impl<'b, L> Widget for List<'b, L>where
L: Iterator<Item = Text<'b>>,
source§fn draw(&mut self, area: Rect, buf: &mut Buffer)
fn draw(&mut self, area: Rect, buf: &mut Buffer)
Draws the current state of the widget in the given buffer. That the only method required to
implement a custom widget. Read more