Module data

Source

Structs§

Header
The header of a SANE array, consisting of the shape, the data type and the length of the data in number of bytes

Enums§

DataType
SANE supported data types
Sane
A Sane array is an array with dynamic shape and elements of one of the supported data types

Traits§

SaneData
An element type with the SaneData trait defines which of the supported data types it corresponds to

Functions§

data_type_code
Get the u8 SANE-encoding of a DataType.
parse_data_type
Parse a SANE-encoded u8 into the corresponding DataType.