Skip to main content

init_with_args

Function init_with_args 

Source
pub fn init_with_args<I, S>(_args: I) -> Result<Context, InitError>
where I: IntoIterator<Item = S>, S: AsRef<str>,
Expand description

Pattern 3 — like init but accepts a [--arg=value, ...]-style argv iterator. Currently a thin wrapper over init that ignores the args; the structured argv parse (--ros-args -p foo:=42, etc.) lands with the runtime-overlay wave.