Expand description
Glorified offsets for arbitrary structures
Why write foo.bar
, when you could write
offset_of!(<Foo>::bar).index_in(foo)
?
Macros
Returns a pointer to a field of a base pointer.
Constructs an offset from a type and a field name.
Structs
An offset, representing a value of type
Field
into a value of type Base
.