Module offset_
calc
repr_
offset
0.2.2
Module offset_
calc
Module Items
Structs
Functions
In crate repr_
offset
Modules
alignment
ext
for_examples
get_field_offset
offset_calc
privacy
utils
Macros
OFF
PUB_OFF
off
pub_off
unsafe_struct_field_offsets
Structs
FieldOffset
repr_offset
Module
offset_calc
Copy item path
Settings
Help
Summary
Source
Expand description
Functions for calculating field offsets.
Structs
§
GetNext
Field
Offset
Calculates the offset (in bytes) of a field, with the
call
method.
Functions
§
next_
field_
offset
Calculates the offset of a field in bytes,given the previous field.