Take an Iterator of TextArea in prepare

This commit is contained in:
Héctor Ramón Jiménez 2023-02-05 18:22:56 +01:00 committed by Josh Groves
parent 7f31965063
commit 0857bef584
3 changed files with 10 additions and 8 deletions

View file

@ -96,6 +96,7 @@ impl Default for TextBounds {
}
/// A text area containing text to be rendered along with its overflow behavior.
#[derive(Clone, Copy)]
pub struct TextArea<'a> {
/// The buffer containing the text to be rendered.
pub buffer: &'a Buffer,