Skip to main content

Module mutability

Module mutability 

Source
Expand description

Mutability classification of Rust types.

Structs§

Exclusive
Immediate storage requires exclusive access to mutate. I describes whether interior-mutable storage is reachable through indirection.
WithInterior
Storage mutable through shared access. R aggregates the robustness of all interior-mutable parts, including those reachable through indirection, independently of the whole value’s RustSpec::Trap classification.

Enums§

WithoutInterior
No reachable interior-mutable storage.

Traits§

ExclusiveKind
Closed family of reachable-interior classifications accepted by Exclusive.
PointerMutability
Convert a pointee classification to the classification of its pointer.