<!DOCTYPE html> {#- -#}
<html lang="en"> {#- -#}
<head> {#- -#}
    <meta charset="utf-8"> {#- -#}
    <meta name="viewport" content="width=device-width, initial-scale=1.0"> {#- -#}
    <meta name="generator" content="rustdoc"> {#- -#}
    <meta name="description" content="{{page.description}}"> {#- -#}
    <meta name="keywords" content="{{page.keywords}}"> {#- -#}
    <title>{{page.title}}</title> {#- -#}
    <link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}SourceSerif4-Regular.ttf.woff2"> {#- -#}
    <link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}FiraSans-Regular.woff2"> {#- -#}
    <link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}FiraSans-Medium.woff2"> {#- -#}
    <link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}SourceCodePro-Regular.ttf.woff2"> {#- -#}
    <link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}SourceSerif4-Bold.ttf.woff2"> {#- -#}
    <link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}SourceCodePro-Semibold.ttf.woff2"> {#- -#}
    <link rel="stylesheet" {# -#}
          href="{{static_root_path|safe}}normalize{{page.resource_suffix}}.css"> {#- -#}
    <link rel="stylesheet" {# -#}
          href="{{static_root_path|safe}}rustdoc{{page.resource_suffix}}.css" {# -#}
          id="mainThemeStyle"> {#- -#}
    {%- for theme in themes -%}
        <link rel="stylesheet" {# -#}
            href="{{static_root_path|safe}}{{theme}}{{page.resource_suffix}}.css" {# -#}
        {%- if theme == "light" -%}
            id="themeStyle"
        {%- else -%}
            disabled
        {%- endif -%}
        >
    {%- endfor -%}
    <script id="default-settings" {# -#}
      {% for (k, v) in layout.default_settings %}
        data-{{k}}="{{v}}"
      {%- endfor -%}
    ></script> {#- -#}
    <script src="{{static_root_path|safe}}storage{{page.resource_suffix}}.js"></script> {#- -#}
    {%- if page.css_class.contains("crate") -%}
    <script defer src="{{page.root_path|safe}}crates{{page.resource_suffix}}.js"></script> {#- -#}
    {%- else if page.css_class == "source" -%}
    <script defer src="{{static_root_path|safe}}source-script{{page.resource_suffix}}.js"></script> {#- -#}
    <script defer src="{{page.root_path|safe}}source-files{{page.resource_suffix}}.js"></script> {#- -#}
    {%- else if !page.css_class.contains("mod") -%}
    <script defer src="sidebar-items{{page.resource_suffix}}.js"></script> {#- -#}
    {%- endif -%}
    <script defer src="{{static_root_path|safe}}main{{page.resource_suffix}}.js"></script> {#- -#}
    {%- if layout.scrape_examples_extension -%}
    <script defer src="{{page.root_path|safe}}scrape-examples{{page.resource_suffix}}.js"></script> {#- -#}
    {%- endif -%}
    <noscript> {#- -#}
        <link rel="stylesheet" {# -#}
           href="{{static_root_path|safe}}noscript{{page.resource_suffix}}.css"> {#- -#}
    </noscript> {#- -#}
    {%- if layout.css_file_extension.is_some() -%}
        <link rel="stylesheet" {# -#}
            href="{{static_root_path|safe}}theme{{page.resource_suffix}}.css"> {#- -#}
    {%- endif -%}
    {%- if !layout.favicon.is_empty() -%}
        <link rel="icon" href="{{layout.favicon}}"> {#- -#}
    {%- else -%}
        <link rel="alternate icon" type="image/png" {# -#}
            href="{{static_root_path|safe}}favicon-16x16{{page.resource_suffix}}.png"> {#- -#}
        <link rel="alternate icon" type="image/png" {# -#}
            href="{{static_root_path|safe}}favicon-32x32{{page.resource_suffix}}.png"> {#- -#}
        <link rel="icon" type="image/svg+xml" {# -#}
            href="{{static_root_path|safe}}favicon{{page.resource_suffix}}.svg"> {#- -#}
    {%- endif -%}
    {{- layout.external_html.in_header|safe -}}
</head> {#- -#}
<body class="rustdoc {{page.css_class}}"> {#- -#}
    <!--[if lte IE 11]> {#- -#}
    <div class="warning"> {#- -#}
        This old browser is unsupported and will most likely display funky things. {#- -#}
    </div> {#- -#}
    <![endif]--> {#- -#}
    {{- layout.external_html.before_content|safe -}}
    {%- if page.css_class != "source" -%}
    <nav class="mobile-topbar"> {#- -#}
        <button class="sidebar-menu-toggle">&#9776;</button> {#- -#}
        <a class="sidebar-logo" href="{{page.root_path|safe}}{{krate_with_trailing_slash|safe}}index.html"> {#- -#}
            <div class="logo-container"> {#- -#}
            {%- if !layout.logo.is_empty() -%}
                <img src="{{layout.logo}}" alt="logo"> {#- -#}
            {%- else -%}
                <img class="rust-logo" src="{{static_root_path|safe}}rust-logo{{page.resource_suffix}}.svg" alt="logo"> {#- -#}
            {%- endif -%}
            </div> {#- -#}
        </a> {#- -#}
        <h2></h2> {#- -#}
    </nav> {#- -#}
    {%- endif -%}
    <nav class="sidebar"> {#- -#}
        {%- if page.css_class != "source" -%}
        <a class="sidebar-logo" href="{{page.root_path|safe}}{{krate_with_trailing_slash|safe}}index.html"> {#- -#}
            <div class="logo-container"> {#- -#}
                {%- if !layout.logo.is_empty()  %}
                    <img src="{{layout.logo}}" alt="logo"> {#- -#}
                {%- else -%}
                    <img class="rust-logo" src="{{static_root_path|safe}}rust-logo{{page.resource_suffix}}.svg" alt="logo"> {#- -#}
                {%- endif -%}
            </div> {#- -#}
        </a> {#- -#}
        {%- endif -%}
        {{- sidebar|safe -}}
    </nav> {#- -#}
    <main> {#- -#}
        <div class="width-limiter"> {#- -#}
            <nav class="sub"> {#- -#}
                {%- if page.css_class == "source" -%}
                <a class="sub-logo-container" href="{{page.root_path|safe}}{{krate_with_trailing_slash|safe}}index.html"> {#- -#}
                    {%- if !layout.logo.is_empty()  %}
                        <img src="{{layout.logo}}" alt="logo"> {#- -#}
                    {%- else -%}
                        <img class="rust-logo" src="{{static_root_path|safe}}rust-logo{{page.resource_suffix}}.svg" alt="logo"> {#- -#}
                    {%- endif -%}
                </a> {#- -#}
                {%- endif -%}
                <form class="search-form"> {#- -#}
                    <span></span> {#- This empty span is a hacky fix for Safari - See #93184 -#}
                    <input {# -#}
                        class="search-input" {# -#}
                        name="search" {# -#}
                        autocomplete="off" {# -#}
                        spellcheck="false" {# -#}
                        placeholder="Click or press ‘S’ to search, ‘?’ for more options…" {# -#}
                        type="search"> {#- -#}
                    <div id="help-button" title="help" tabindex="-1"> {#- -#}
                        <a href="{{page.root_path|safe}}help.html">?</a> {#- -#}
                    </div> {#- -#}
                    <div id="settings-menu" tabindex="-1"> {#- -#}
                        <a href="{{page.root_path|safe}}settings.html" title="settings"> {#- -#}
                            <img width="22" height="22" alt="Change settings" {# -#}
                             src="{{static_root_path|safe}}wheel{{page.resource_suffix}}.svg"> {#- -#}
                        </a> {#- -#}
                    </div> {#- -#}
                </form> {#- -#}
            </nav> {#- -#}
            <section id="main-content" class="content">{{- content|safe -}}</section> {#- -#}
        </div> {#- -#}
    </main> {#- -#}
    {{- layout.external_html.after_content|safe -}}
    <div id="rustdoc-vars" {# -#}
         data-root-path="{{page.root_path|safe}}" {# -#}
         data-current-crate="{{layout.krate}}" {# -#}
         data-themes="{{themes|join(",") }}" {# -#}
         data-resource-suffix="{{page.resource_suffix}}" {# -#}
         data-rustdoc-version="{{rustdoc_version}}" {# -#}
    > {#- -#}
    </div> {#- -#}
</body> {#- -#}
</html> {#- -#}
