Module utils
repr_
offset
0.2.2
Module utils
Module Items
Structs
Traits
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
utils
Copy item path
Settings
Help
Summary
Source
Expand description
Miscelaneous functions.
Structs
§
Make
Phantom
Data
Helper type to construct certain PhantomData in const fns.
Traits
§
Pointer
Target
Gets the type pointed-to by a pointer.
Functions
§
moved
A helper function to force a variable to move (copy if it’s a Copy type).