Skip to main content

Draw

Trait Draw 

Source
pub trait Draw {
    // Required method
    fn draw(
        self,
        app: &mut App,
        frame: &mut Frame<'_>,
    ) -> Result<(), Box<dyn Error>>;
}

Required Methods§

Source

fn draw( self, app: &mut App, frame: &mut Frame<'_>, ) -> Result<(), Box<dyn Error>>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§