Crate servicepoint2

Source

Structs§

BitVec
A vector of bits
ByteGrid
A 2D grid of bytes
Connection
A connection to the display.
Header
A raw header. Should probably not be used directly.
Origin
An origin marks the top left position of a window sent to the display.
Packet
The raw packet. Should probably not be used directly.
PixelGrid
A grid of pixels stored in packed bytes.

Enums§

Command
A command to send to the display.
CompressionCode
Specifies the kind of compression to use. Availability depends on features.

Constants§

FRAME_PACING
Actual hardware limit is around 28-29ms/frame. Rounded up for less dropped packets.
PIXEL_COUNT
pixel count on whole screen
PIXEL_HEIGHT
screen height in pixels
PIXEL_WIDTH
screen width in pixels
TILE_HEIGHT
tile count in the y-direction
TILE_SIZE
size of a single tile in one dimension
TILE_WIDTH
tile count in the x-direction

Traits§

DataRef
A trait for getting the underlying raw byte slices of data containers.
Grid

Type Aliases§

Brightness
Type alias for documenting the meaning of the u16 in enum values
Offset
Type alias for documenting the meaning of the u16 in enum values
Payload
The raw payload. Should probably not be used directly.