Skip to main content

Module pod

Module pod 

Source
Expand description

Data types that can be serialized as-is, by dumping the memory into a file.

Structs§

PodVecView
A Visit type for storing a whole Vec of Pod values as a single field within a Visitor. The Vec is reinterpreted as a Vec of bytes, with no consideration given for whether the bytes are in big-endian or little-endian order by using std::ptr::copy_nonoverlapping.

Traits§

Pod
Trait for datatypes that can be converted directly into bytes. This is required for the type to be used in the Vec of a PodVecView.