pub trait DynamicWidget {
// Required methods
fn width_characters(&self) -> usize;
fn height_characters(&self) -> usize;
fn string_data(&self) -> StringData;
}Required Methods§
Sourcefn width_characters(&self) -> usize
fn width_characters(&self) -> usize
Returns the width of the display in characters.
Sourcefn height_characters(&self) -> usize
fn height_characters(&self) -> usize
Returns the height of the display in characters.
Sourcefn string_data(&self) -> StringData
fn string_data(&self) -> StringData
Returns a string representation. The first vector contains rows. The vectors inside/rows contain individual characters.