Macro containerof::containerof_field_offset [] [src]

macro_rules! containerof_field_offset {
    ($container:ty : $field:ident) => { ... };
}

Implement C-like offsetof macro in Rust. Will become obsolete when-and-if offsetof() is implemented in the core language.