<!DOCTYPE html>
<html lang="en-us">
<head><meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Grcov report - role.rs </title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.1/css/bulma.min.css"></head>
<body>
<div class="container">
<nav class="breadcrumb is-right" aria-label="breadcrumbs">
<ul><li><a href="../index.html">top_level</a></li><li><a href="./index.html">src</a></li><li class="is-active"><a href="#">role.rs</a></li>
</ul>
</nav>
<nav class="level">
<div class="level-item has-text-centered">
<div>
<p class="heading">Lines</p>
<p class="title has-text-warning">
<abbr title="16 / 21">76.19 %</abbr></p>
</div>
</div>
<div class="level-item has-text-centered">
<div>
<p class="heading">Functions</p>
<p class="title has-text-danger">
<abbr title="4 / 9">44.44 %</abbr></p>
</div>
</div>
<div class="level-item has-text-centered">
<div>
<p class="heading">Branches</p>
<p class="title has-text-success">
<abbr title="0 / 0">100 %</abbr></p>
</div>
</div>
</nav>
<div role="table" aria-label="Coverage report"><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="1"
role="cell">
<a href="#1">1</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">// This file is part of hnefatafl-copenhagen.</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="2"
role="cell">
<a href="#2">2</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">//</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="3"
role="cell">
<a href="#3">3</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">// hnefatafl-copenhagen is free software: you can redistribute it and/or modify</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="4"
role="cell">
<a href="#4">4</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">// it under the terms of the GNU Affero General Public License as published by</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="5"
role="cell">
<a href="#5">5</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">// the Free Software Foundation, either version 3 of the License, or</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="6"
role="cell">
<a href="#6">6</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">// (at your option) any later version.</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="7"
role="cell">
<a href="#7">7</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">//</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="8"
role="cell">
<a href="#8">8</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">// hnefatafl-copenhagen is distributed in the hope that it will be useful,</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="9"
role="cell">
<a href="#9">9</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">// but WITHOUT ANY WARRANTY; without even the implied warranty of</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="10"
role="cell">
<a href="#10">10</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="11"
role="cell">
<a href="#11">11</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">// GNU Affero General Public License for more details.</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="12"
role="cell">
<a href="#12">12</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">//</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="13"
role="cell">
<a href="#13">13</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">// You should have received a copy of the GNU Affero General Public License</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="14"
role="cell">
<a href="#14">14</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">// along with this program. If not, see <https://www.gnu.org/licenses/>.</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="15"
role="cell">
<a href="#15">15</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"></pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="16"
role="cell">
<a href="#16">16</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">use std::{fmt, str::FromStr};</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="17"
role="cell">
<a href="#17">17</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"></pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="18"
role="cell">
<a href="#18">18</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">use serde::{Deserialize, Serialize};</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="19"
role="cell">
<a href="#19">19</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"></pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="20"
role="cell">
<a href="#20">20</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">#[derive(</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="21"
role="cell">
<a href="#21">21</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"> Clone, Copy, Debug, Default, Deserialize, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize,</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="22"
role="cell">
<a href="#22">22</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">)]</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="23"
role="cell">
<a href="#23">23</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">pub enum Role {</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="24"
role="cell">
<a href="#24">24</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"> #[default]</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="25"
role="cell">
<a href="#25">25</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"> Attacker,</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="26"
role="cell">
<a href="#26">26</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"> Defender,</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="27"
role="cell">
<a href="#27">27</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"> Roleless,</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="28"
role="cell">
<a href="#28">28</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">}</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="29"
role="cell">
<a href="#29">29</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"></pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="30"
role="cell">
<a href="#30">30</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">impl Role {</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="31"
role="cell">
<a href="#31">31</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"> #[must_use]</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="32"
role="cell">
<a href="#32">32</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success"
role="cell" aria-label="51819242">
51819242
</div>
<div class="column has-background-success-light p-0"
role="cell">
<pre class="has-background-success-light py-0 px-2"> pub fn opposite(&self) -> Self {</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="33"
role="cell">
<a href="#33">33</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success"
role="cell" aria-label="51819242">
51819242
</div>
<div class="column has-background-success-light p-0"
role="cell">
<pre class="has-background-success-light py-0 px-2"> match self {</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="34"
role="cell">
<a href="#34">34</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success"
role="cell" aria-label="35518320">
35518320
</div>
<div class="column has-background-success-light p-0"
role="cell">
<pre class="has-background-success-light py-0 px-2"> Self::Attacker => Self::Defender,</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="35"
role="cell">
<a href="#35">35</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success"
role="cell" aria-label="16300922">
16300922
</div>
<div class="column has-background-success-light p-0"
role="cell">
<pre class="has-background-success-light py-0 px-2"> Self::Defender => Self::Attacker,</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="36"
role="cell">
<a href="#36">36</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger"
role="cell" aria-label="0">
</div>
<div class="column has-background-danger-light p-0"
role="cell">
<pre class="has-background-danger-light py-0 px-2"> Self::Roleless => Self::Roleless,</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="37"
role="cell">
<a href="#37">37</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"> }</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="38"
role="cell">
<a href="#38">38</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success"
role="cell" aria-label="51819242">
51819242
</div>
<div class="column has-background-success-light p-0"
role="cell">
<pre class="has-background-success-light py-0 px-2"> }</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="39"
role="cell">
<a href="#39">39</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">}</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="40"
role="cell">
<a href="#40">40</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"></pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="41"
role="cell">
<a href="#41">41</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">impl fmt::Display for Role {</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="42"
role="cell">
<a href="#42">42</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success"
role="cell" aria-label="48">
48
</div>
<div class="column has-background-success-light p-0"
role="cell">
<pre class="has-background-success-light py-0 px-2"> fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="43"
role="cell">
<a href="#43">43</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success"
role="cell" aria-label="48">
48
</div>
<div class="column has-background-success-light p-0"
role="cell">
<pre class="has-background-success-light py-0 px-2"> match self {</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="44"
role="cell">
<a href="#44">44</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success"
role="cell" aria-label="24">
24
</div>
<div class="column has-background-success-light p-0"
role="cell">
<pre class="has-background-success-light py-0 px-2"> Role::Attacker => write!(f, "attacker"),</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="45"
role="cell">
<a href="#45">45</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success"
role="cell" aria-label="24">
24
</div>
<div class="column has-background-success-light p-0"
role="cell">
<pre class="has-background-success-light py-0 px-2"> Role::Defender => write!(f, "defender"),</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="46"
role="cell">
<a href="#46">46</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger"
role="cell" aria-label="0">
</div>
<div class="column has-background-danger-light p-0"
role="cell">
<pre class="has-background-danger-light py-0 px-2"> Role::Roleless => write!(f, "roleless"),</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="47"
role="cell">
<a href="#47">47</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"> }</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="48"
role="cell">
<a href="#48">48</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success"
role="cell" aria-label="48">
48
</div>
<div class="column has-background-success-light p-0"
role="cell">
<pre class="has-background-success-light py-0 px-2"> }</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="49"
role="cell">
<a href="#49">49</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">}</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="50"
role="cell">
<a href="#50">50</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"></pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="51"
role="cell">
<a href="#51">51</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">impl FromStr for Role {</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="52"
role="cell">
<a href="#52">52</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"> type Err = anyhow::Error;</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="53"
role="cell">
<a href="#53">53</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"></pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="54"
role="cell">
<a href="#54">54</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success"
role="cell" aria-label="876">
876
</div>
<div class="column has-background-success-light p-0"
role="cell">
<pre class="has-background-success-light py-0 px-2"> fn from_str(string: &str) -> anyhow::Result<Self> {</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="55"
role="cell">
<a href="#55">55</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success"
role="cell" aria-label="876">
876
</div>
<div class="column has-background-success-light p-0"
role="cell">
<pre class="has-background-success-light py-0 px-2"> let string = string.to_lowercase();</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="56"
role="cell">
<a href="#56">56</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"></pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="57"
role="cell">
<a href="#57">57</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success"
role="cell" aria-label="876">
876
</div>
<div class="column has-background-success-light p-0"
role="cell">
<pre class="has-background-success-light py-0 px-2"> match string.as_str() {</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="58"
role="cell">
<a href="#58">58</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success"
role="cell" aria-label="876">
876
</div>
<div class="column has-background-success-light p-0"
role="cell">
<pre class="has-background-success-light py-0 px-2"> "a" | "attacker" => Ok(Self::Attacker),</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="59"
role="cell">
<a href="#59">59</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success"
role="cell" aria-label="480">
480
</div>
<div class="column has-background-success-light p-0"
role="cell">
<pre class="has-background-success-light py-0 px-2"> "d" | "defender" => Ok(Self::Defender),</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="60"
role="cell">
<a href="#60">60</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger"
role="cell" aria-label="0">
</div>
<div class="column has-background-danger-light p-0"
role="cell">
<pre class="has-background-danger-light py-0 px-2"> _ => Err(anyhow::Error::msg(format!(</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="61"
role="cell">
<a href="#61">61</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger"
role="cell" aria-label="0">
</div>
<div class="column has-background-danger-light p-0"
role="cell">
<pre class="has-background-danger-light py-0 px-2"> "Error trying to convert '{string}' to a Role!"</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="62"
role="cell">
<a href="#62">62</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-danger-light has-background-danger"
role="cell" aria-label="0">
</div>
<div class="column has-background-danger-light p-0"
role="cell">
<pre class="has-background-danger-light py-0 px-2"> ))),</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="63"
role="cell">
<a href="#63">63</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2"> }</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="64"
role="cell">
<a href="#64">64</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-success-light has-background-success"
role="cell" aria-label="876">
876
</div>
<div class="column has-background-success-light p-0"
role="cell">
<pre class="has-background-success-light py-0 px-2"> }</pre>
</div>
</div><div class="columns p-0 m-0" role="row">
<div
class="column is-1 is-narrow p-0 has-text-centered"
id="65"
role="cell">
<a href="#65">65</a>
</div>
<div
class="column is-1 is-narrow p-0 has-text-centered has-text-white has-background-white"
role="cell" aria-label="no coverage">
</div>
<div class="column has-background-white p-0"
role="cell">
<pre class="has-background-white py-0 px-2">}</pre>
</div>
</div></div>
</div>
<footer class="footer">
<div class="content has-text-centered">
<p class="heading">Date: 2026-01-28 15:49</p>
</div>
</footer>
</body>
</html>