[][src]Trait widgetry::TextExt

pub trait TextExt {
    fn draw_text(self, ctx: &EventCtx) -> Widget;
fn batch_text(self, ctx: &EventCtx) -> Widget; }

Required methods

fn draw_text(self, ctx: &EventCtx) -> Widget

fn batch_text(self, ctx: &EventCtx) -> Widget

Loading content...

Implementations on Foreign Types

impl<'_> TextExt for &'_ str[src]

impl TextExt for String[src]

Loading content...

Implementors

Loading content...