Module ttf_parser::parser

source ·
Expand description

Binary parsing utils.

This module should not be used directly, unless you’re planning to parse some tables manually.

Structs§

  • A 16-bit signed fixed number with the low 14 bits of fraction (2.14).
  • A 32-bit signed fixed-point number (16.16).
  • A slice-like container that converts internal binary data only on access.
  • A slice-like container that converts internal binary data only on access.
  • An iterator over LazyArray16.
  • An iterator over LazyArray32.
  • A type-safe u16 offset.
  • A type-safe u32 offset.
  • A streaming binary parser.
  • A u24 number.

Traits§

  • A trait for parsing raw binary data.
  • A safe u32 to usize casting.
  • A common offset methods.
  • Just like TryFrom, but for numeric types not supported by the Rust’s std.