Expand description
Relative pointer implementations and options.
Structs
An untyped pointer which resolves relative to its position in memory.
A pointer which resolves to relative to its position in memory.
Enums
An error where the distance between two positions cannot be represented by the offset type.
Errors that can occur while creating raw relative pointers.
Traits
Functions
Calculates the offset between two positions as an isize
.
Type Definitions
A raw relative pointer that uses an archived i8
as the underlying offset.
A raw relative pointer that uses an archived i16
as the underlying offset.
A raw relative pointer that uses an archived i32
as the underlying offset.
A raw relative pointer that uses an archived i64
as the underlying offset.
A raw relative pointer that uses an archived u8
as the underlying offset.
A raw relative pointer that uses an archived u16
as the underlying offset.
A raw relative pointer that uses an archived u32
as the underlying offset.
A raw relative pointer that uses an archived u64
as the underlying offset.