[−][src]Crate const_field_offset
This crate expose the FieldOffsets
derive macro and the types it uses.
The macro allows to get const FieldOffset for member of a #[repr(C)]
struct.
The FieldOffset
type is re-exported from the field-offset
crate.
Structs
FieldOffset | Represents a pointer to a field of type |
Enums
AllowPin | Type that can be used in the |
NotPinned | Type that can be used in the |
Traits
PinnedDrop | This trait needs to be implemented if you use the |
Derive Macros
FieldOffsets | The macro FieldOffsets adds a |