Macro memoffset::raw_field

source ยท
macro_rules! raw_field {
    ($base:expr, $parent:path, $field:tt) => { ... };
}
Expand description

Computes a const raw pointer to the given field of the given base pointer to the given parent type.

The base pointer must not be dangling, but it may point to uninitialized memory.