Skip to content

Commit

Permalink
deploy: ff7e7f0
Browse files Browse the repository at this point in the history
  • Loading branch information
emwalker committed Oct 3, 2023
1 parent 3d3081d commit 2a2c195
Show file tree
Hide file tree
Showing 10 changed files with 138 additions and 284 deletions.
2 changes: 1 addition & 1 deletion gosub_engine/html5_parser/node/index.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions gosub_engine/html5_parser/node/struct.Node.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@
</div></details><details class="toggle method-toggle" open><summary><section id="method.new_comment" class="method"><a class="srclink rightside" href="../../../src/gosub_engine/html5_parser/node.rs.html#144-155">source</a><h4 class="code-header">pub fn <a href="#method.new_comment" class="fn">new_comment</a>(value: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.72.1/std/primitive.str.html">str</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Create a new comment node</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.new_text" class="method"><a class="srclink rightside" href="../../../src/gosub_engine/html5_parser/node.rs.html#158-169">source</a><h4 class="code-header">pub fn <a href="#method.new_text" class="fn">new_text</a>(value: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.72.1/std/primitive.str.html">str</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Create a new text node</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_special" class="method"><a class="srclink rightside" href="../../../src/gosub_engine/html5_parser/node.rs.html#172-190">source</a><h4 class="code-header">pub fn <a href="#method.is_special" class="fn">is_special</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.72.1/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the given node is “special” node based on the namespace and name</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.contains_attribute" class="method"><a class="srclink rightside" href="../../../src/gosub_engine/html5_parser/node.rs.html#193-204">source</a><h4 class="code-header">pub fn <a href="#method.contains_attribute" class="fn">contains_attribute</a>(&amp;self, name: <a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.72.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.72.1/std/primitive.bool.html">bool</a>, <a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section></summary><div class="docblock"><p>Check if an attribute exists</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.contains_attribute" class="method"><a class="srclink rightside" href="../../../src/gosub_engine/html5_parser/node.rs.html#193-204">source</a><h4 class="code-header">pub fn <a href="#method.contains_attribute" class="fn">contains_attribute</a>(&amp;self, name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.72.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.72.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.72.1/std/primitive.bool.html">bool</a>, <a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section></summary><div class="docblock"><p>Check if an attribute exists</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.insert_attribute" class="method"><a class="srclink rightside" href="../../../src/gosub_engine/html5_parser/node.rs.html#207-217">source</a><h4 class="code-header">pub fn <a href="#method.insert_attribute" class="fn">insert_attribute</a>(
&amp;mut self,
name: <a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
value: <a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>
name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.72.1/std/primitive.str.html">str</a>,
value: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.72.1/std/primitive.str.html">str</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.72.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.72.1/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section></summary><div class="docblock"><p>Add or update a an attribute</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.remove_attribute" class="method"><a class="srclink rightside" href="../../../src/gosub_engine/html5_parser/node.rs.html#220-230">source</a><h4 class="code-header">pub fn <a href="#method.remove_attribute" class="fn">remove_attribute</a>(&amp;mut self, name: <a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.72.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.72.1/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section></summary><div class="docblock"><p>Remove an attribute. If attribute doesn’t exist, nothing happens.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_attribute" class="method"><a class="srclink rightside" href="../../../src/gosub_engine/html5_parser/node.rs.html#234-245">source</a><h4 class="code-header">pub fn <a href="#method.get_attribute" class="fn">get_attribute</a>(&amp;self, name: <a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.72.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.72.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;, <a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section></summary><div class="docblock"><p>Get a constant reference to the attribute value
</div></details><details class="toggle method-toggle" open><summary><section id="method.remove_attribute" class="method"><a class="srclink rightside" href="../../../src/gosub_engine/html5_parser/node.rs.html#220-230">source</a><h4 class="code-header">pub fn <a href="#method.remove_attribute" class="fn">remove_attribute</a>(&amp;mut self, name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.72.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.72.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.72.1/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section></summary><div class="docblock"><p>Remove an attribute. If attribute doesn’t exist, nothing happens.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_attribute" class="method"><a class="srclink rightside" href="../../../src/gosub_engine/html5_parser/node.rs.html#234-245">source</a><h4 class="code-header">pub fn <a href="#method.get_attribute" class="fn">get_attribute</a>(&amp;self, name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.72.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.72.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.72.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;, <a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section></summary><div class="docblock"><p>Get a constant reference to the attribute value
(or None if attribute doesn’t exist)</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_mut_attribute" class="method"><a class="srclink rightside" href="../../../src/gosub_engine/html5_parser/node.rs.html#249-260">source</a><h4 class="code-header">pub fn <a href="#method.get_mut_attribute" class="fn">get_mut_attribute</a>(
&amp;mut self,
name: <a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>
name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.72.1/std/primitive.str.html">str</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.72.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.72.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut <a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;, <a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section></summary><div class="docblock"><p>Get a mutable reference to the attribute value
(or None if the attribute doesn’t exist)</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.clear_attributes" class="method"><a class="srclink rightside" href="../../../src/gosub_engine/html5_parser/node.rs.html#263-273">source</a><h4 class="code-header">pub fn <a href="#method.clear_attributes" class="fn">clear_attributes</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.72.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.72.1/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.72.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section></summary><div class="docblock"><p>Remove all attributes</p>
Expand Down
Loading

0 comments on commit 2a2c195

Please sign in to comment.