Crate displayable

source ·
Expand description

This crate defines a trait of Displayable. A displayable is a block of content. It can display itself onto a framebuffer. The coordinate of a displayable represents its origin (top-left point).

Traits

  • The Displayable trait is an abstraction for any object that can display itself onto a framebuffer. Examples include a text box, button, window border, etc.