macro_rules! offset_of {
($ty: path, $field: tt) => { ... };
}Expand description
Calculates the offset of the specified field from the start of the named struct.
macro_rules! offset_of {
($ty: path, $field: tt) => { ... };
}Calculates the offset of the specified field from the start of the named struct.