Module backend

Source
Expand description

This module contains some useful re-export of backend related types.

Structs§

BGRXPixelbitmap_backend
The marker type that indicates we are currently using a BGRX8888 pixel format
BitMapBackendbitmap_backend
The backend that drawing a bitmap
RGBPixelbitmap_backend
The marker type that indicates we are currently using a RGB888 pixel format
SVGBackendsvg_backend
The SVG image drawing backend

Traits§

DrawingBackend
The drawing backend trait, which implements the low-level drawing APIs. This trait has a set of default implementation. And the minimal requirement of implementing a drawing backend is implementing the draw_pixel function.
PixelFormatbitmap_backend
The trait that describes some details about a particular pixel format