Skip to main contentModule cast
Source - AsBytesCast
- A cast from
T to [u8]. - CastToUnit
- A cast from any type to
(). - IdCast
- A no-op pointer cast.
- Projection
- A field projection
- TransitiveProject
- A transitive sequence of projections.
- CastSized
- A pointer cast which preserves or shrinks the set of referent bytes of
a statically-sized referent.
- CastSizedExact
- A pointer cast which preserves the set of referent bytes of a
statically-sized referent.
- CastUnsized
- A pointer cast which preserves or shrinks the set of referent bytes of
a dynamically-sized referent.
- Cast
- A
Project which preserves the address of the referent – a pointer
cast. - CastExact
- A
Cast which does not shrink the set of referent bytes. - Project
- A pointer cast or projection.