Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

StaticChain

Trait StaticChain 

Source
pub trait StaticChain: Sealed {
    // Required method
    fn head(&self) -> *const u32;
}
Expand description

A complete, immutable linked list: StaticPacket or DrawDoneNode.

Sealed: implementors guarantee that a shared reference to them is a whole chain whose nodes never change while the reference lives.

Required Methods§

Source

fn head(&self) -> *const u32

Address of the first node’s tag.

Implementors§