Crate field_offset
source ·Macros
- This macro allows safe construction of a FieldOffset, by generating a known to be valid lambda to pass to the constructor. It takes a type, and the identifier of a field within that type as input.
Structs
- Represents a pointer to a field of type
Uwithin the typeT
Enums
- Type that can be used in the
PinFlagparameter ofFieldOffsetto specify that this projection is valid on Pin types. See documentation ofFieldOffset::new_from_offset_pinned - Type that can be used in the
PinFlagparameter ofFieldOffsetto specify that this projection is not valid on Pin types.