pub fn target_module(segments: &[Segment]) -> Option<&str>
The module of the last segment that names one (the target’s namespace).