Skip to main content

command_offsets

Function command_offsets 

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

Where each part’s commands start in the composed catalog: the shell at 0, then every module in order. modules.set_enabled, if any, follows.