macro_rules! offset_of {
    ($container:path, $field:ident) => { ... };
}
Expand description

Macro to get the offset of a struct field in bytes from the address of the struct.