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

Method new

crates/kernel/src/level.rs:62–64  ·  view source on GitHub ↗

Wrap raw data into a `KUniv`.

(data: UnivData<M>)

Source from the content-addressed store, hash-verified

60impl<M: KernelMode> KUniv<M> {
61 /// Wrap raw data into a `KUniv`.
62 pub fn new(data: UnivData<M>) -> Self {
63 KUniv(Arc::new(data))
64 }
65
66 pub fn data(&self) -> &UnivData<M> {
67 &self.0

Callers

nothing calls this directly

Calls 2

KUnivClass · 0.85
UPrngClass · 0.85

Tested by

no test coverage detected