Skip to main content

state_offsets

Function state_offsets 

Source
pub fn state_offsets(
    shell: &ProtocolDescriptor,
    parts: &[ModulePart<'_>],
) -> Vec<usize>
Expand description

Where each part’s state fields start in the composed catalog: the shell at 0, then every module in order. Optional module switches follow.