Module rel_ptr
Available on crate feature
dep_rkyv
only.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.
Traits§
- A offset that can be used with
RawRelPtr
.
Functions§
- Calculates the offset between two positions as an
isize
.
Type Aliases§
- 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.