Skip to main content

Widget

Trait Widget 

Source
pub trait Widget {
    // Required method
    fn create_graphemes(&self, width: u16, height: u16) -> StyledGraphemes;
}

Required Methods§

Source

fn create_graphemes(&self, width: u16, height: u16) -> StyledGraphemes

Creates styled graphemes with the given width and height.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§