Expand description
Trait-level const/mutable tracking.
This module provides a system of marker types that can be used to encode write permissions into type parameters rather than duplicate structures. !
Structs§
- Address
- A generic non-null pointer with type-system mutability tracking.
- Const
- A basic
constmarker. - Frozen
- A frozen wrapper over some other
Mutabilitymarker. - Mut
- A basic
mutmarker. - Null
PtrError Addresscannot be constructed over null pointers.
Traits§
- Mutability
- Generalized mutability permissions.
- Referential
- Allows an
Addressto produce an ordinary reference. - Slice
Referential - Allows an
Address<M, [T]>to produce an ordinary slice reference.
Type Aliases§
- Reference
- A generically-mutable reference.