Macro offset_of

Source
macro_rules! offset_of {
    ($ty: path, $field: tt) => { ... };
}
Expand description

Calculates the offset of the specified field from the start of the named struct.