MCPcopy Create free account
hub / github.com/argumentcomputer/ix / succ

Method succ

crates/common/src/env.rs:319–324  ·  view source on GitHub ↗

Constructs the successor of universe level `x`.

(x: Level)

Source from the content-addressed store, hash-verified

317 }
318
319 /// Returns the precomputed Blake3 hash of this level.
320 pub fn get_hash(&self) -> &Hash {
321 match &*self.0 {
322 LevelData::Zero(h)
323 | LevelData::Succ(_, h)
324 | LevelData::Max(.., h)
325 | LevelData::Imax(.., h)
326 | LevelData::Param(_, h)
327 | LevelData::Mvar(_, h) => h,

Callers

nothing calls this directly

Calls 4

as_bytesMethod · 0.80
get_hashMethod · 0.80
finalizeMethod · 0.80
LevelClass · 0.70

Tested by

no test coverage detected