sim-lib-mutation 0.1.0-rc.1

SIM workspace package for sim lib mutation.
Documentation
1
2
3
4
5
6
7
8
9
10
use sim_kernel::CapabilityName;

/// The capability name every mutation write requires: `standard.mutate`.
///
/// In-place writes on cells, boxes, vectors, and tables call `cx.require` with
/// this name, so mutation fails closed unless the context has been granted the
/// capability.
pub fn standard_mutate_capability() -> CapabilityName {
    CapabilityName::new("standard.mutate")
}