<div class="main-heading">
    {% if !path_components.is_empty() %}
    <div class="rustdoc-breadcrumbs">
        {% for (i, component) in path_components.iter().enumerate() %}
            {% if i != 0 %}
                ::<wbr>
            {% endif %}
            <a href="{{component.path|safe}}index.html">{{component.name}}</a>
        {% endfor %}
    </div>
    {% endif %}
    <h1>
        {{typ}}
        <span{% if item_type != "mod" +%} class="{{item_type}}"{% endif %}>
        {{name|wrapped|safe}}
 