memoffset

Macro raw_field_tuple

Source
macro_rules! raw_field_tuple {
    ($base:expr, $parent:ty, $field:tt) => { ... };
}
Expand description

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

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