Module binrw::meta

source ·
Expand description

Traits that expose information about the way types are parsed or serialised.

The traits in this module describe how a BinRead or BinWrite implementation works; they do not control the implementation. They are automatically implemented for derived BinRead or BinWrite implementations, but can also be manually implemented if needed for types that manually implement BinRead and BinWrite.

Enums§

Traits§

  • Types with explicit read endianness.
  • Types that require a magic number when parsed.
  • Types with explicit write endianness.
  • Types that write a magic number when serialised.