Module repr_offset::for_examples
source · Expand description
Types used for examples,
These are in the docs purely so that documentation examples only use types that are documented.
You can only use items from this module when the “for_examples” feature is enabled.
Structs§
- An example
#[repr(C, align(4))]
type - An example
#[repr(C)]
type - An example
#[repr(C)]
type which doesn’t implementGetFieldOffset
- An example
#[repr(C, packed)]
type - An example
#[repr(C, packed(2))]
type.