Macro intrusive_collections::offset_of
source · 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.
macro_rules! offset_of {
($container:path, $field:ident) => { ... };
}
Macro to get the offset of a struct field in bytes from the address of the struct.