Crate devotee_backend

source ·
Expand description

Set of definitions for backend-y stuff of the devotee project.

General approach is following:

  • Specific backend works with middleware and application instances;
  • Middleware abstract backend specifics away;
  • Application works with Middleware abstractions;

Traits§

  • Application trait.
  • Context to be passed to the Application during the update routine.
  • Converter from the Data value to 0xff_rr_gg_bb format.
  • Input trait consumes external events.
  • Middleware trait.
  • The surface for the Application to perform rendering on.
  • Target to render to.