pub trait FixedBackend: Send + Sync {
    // Required methods
    fn rect(&self) -> Rect;
    fn render(&self, area: Rect, buf: &mut Buffer);
}
Expand description

A fixed image backend for the crate::FixedImage widget.

Required Methods§

source

fn rect(&self) -> Rect

source

fn render(&self, area: Rect, buf: &mut Buffer)

Implementors§