Macros§
Enums§
Traits§
- Invariants
Eq - Denotes that two types have the same invariants.
- Mutation
Compatible - Denotes that
src: Ptr<Src, (A, _, SV)>anddst: Ptr<Self, (A, _, DV)>, referencing the same referent at the same time, cannot be used by safe code to break library safety invariants ofSrcorSelf. - SizeEq
- Safety
- Transmute
From - Denotes that any
SV-validSrcmay soundly be transmuted into aDV-validSelf. - Transmute
From Ptr - Transmutations which are always sound.
- TryTransmute
From Ptr - Transmutations which are sound to attempt, conditional on validating the bit validity of the destination type.