Module wyz::comu

source ·
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

  • A generic non-null pointer with type-system mutability tracking.
  • A basic const marker.
  • A frozen wrapper over some other Mutability marker.
  • A basic mut marker.
  • Address cannot be constructed over null pointers.

Traits

  • Generalized mutability permissions.
  • Allows an Address to produce an ordinary reference.
  • Allows an Address<M, [T]> to produce an ordinary slice reference.

Type Aliases