[][src]Trait widgetry::text::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...