Skip to main content

Renderable

Trait Renderable 

Source
pub trait Renderable {
    // Required method
    fn render(&mut self, frame: &mut Frame<'_>, area: Rect);
}

Required Methods§

Source

fn render(&mut self, frame: &mut Frame<'_>, area: Rect)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§