Skip to main content

Module view

Module view 

Source
Expand description

InstanceView — read-only public projection of one Instance.

L1 applications need to read kernel state (entity rosters, component bytes, post lists, etc.) without holding &mut to the kernel and without reaching into private internals. InstanceView<'a> is the single sanctioned read surface; it borrows &self from the kernel, so callers cannot concurrently mutate while a view is live.

No write methods exist on this struct; &mut Instance never escapes.

Structs§

InstanceView
Read-only borrow of one instance’s state.