Module data

Source
Expand description

Definitions of fontconfig’s raw serialized format.

Fontconfig’s cache format is defined by writing out C structs byte-for-byte. This module gives a rust definition for some of those structs (more may be supported in the future). Since the fontconfig structs include offsets to other structs, you cannot do much with the raw data itself: you need to interpret that data in the context of its location in the cache. See the ptr module for more details.

In any case, you are unlikely to need access to the raw serialized format, as this crate defines more convenient wrappers around this raw format.

Structs§

CacheData
The fontconfig cache header, in the raw serialized format.
CharSetData
A set of code points, in the raw serialized format.
FontSetData
A set of fonts, in the raw serialized format.
PatternData
The raw serialized format of a Pattern.
PatternEltData
A single element of a Pattern, in the raw serialized format.
ValueData
Fontconfig’s FcValue data type, in the raw serialized format.
ValueListData
A linked list of Values, in the raw serialized format.

Unions§

ValueUnion
A dynamically typed value, as a raw union.