273 lines
No EOL
75 KiB
HTML
273 lines
No EOL
75 KiB
HTML
<!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="API documentation for the Rust `Value` enum in crate `edn`.">
|
||
<meta name="keywords" content="rust, rustlang, rust-lang, Value">
|
||
|
||
<title>edn::types::Value - Rust</title>
|
||
|
||
<link rel="stylesheet" type="text/css" href="../../normalize.css">
|
||
<link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle">
|
||
|
||
<link rel="stylesheet" type="text/css" href="../../dark.css">
|
||
<link rel="stylesheet" type="text/css" href="../../main.css" id="themeStyle">
|
||
<script src="../../storage.js"></script>
|
||
|
||
|
||
|
||
|
||
</head>
|
||
<body class="rustdoc enum">
|
||
<!--[if lte IE 8]>
|
||
<div class="warning">
|
||
This old browser is unsupported and will most likely display funky
|
||
things.
|
||
</div>
|
||
<![endif]-->
|
||
|
||
|
||
|
||
<nav class="sidebar">
|
||
<div class="sidebar-menu">☰</div>
|
||
|
||
<p class='location'>Enum Value</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.Nil">Nil</a><a href="#variant.Boolean">Boolean</a><a href="#variant.Integer">Integer</a><a href="#variant.Instant">Instant</a><a href="#variant.BigInteger">BigInteger</a><a href="#variant.Float">Float</a><a href="#variant.Text">Text</a><a href="#variant.Uuid">Uuid</a><a href="#variant.PlainSymbol">PlainSymbol</a><a href="#variant.NamespacedSymbol">NamespacedSymbol</a><a href="#variant.Keyword">Keyword</a><a href="#variant.Vector">Vector</a><a href="#variant.List">List</a><a href="#variant.Set">Set</a><a href="#variant.Map">Map</a></div><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.with_spans">with_spans</a><a href="#method.is_nil">is_nil</a><a href="#method.is_boolean">is_boolean</a><a href="#method.is_integer">is_integer</a><a href="#method.is_instant">is_instant</a><a href="#method.is_big_integer">is_big_integer</a><a href="#method.is_float">is_float</a><a href="#method.is_text">is_text</a><a href="#method.is_uuid">is_uuid</a><a href="#method.is_symbol">is_symbol</a><a href="#method.is_namespaced_symbol">is_namespaced_symbol</a><a href="#method.is_vector">is_vector</a><a href="#method.is_list">is_list</a><a href="#method.is_set">is_set</a><a href="#method.is_map">is_map</a><a href="#method.is_keyword">is_keyword</a><a href="#method.is_namespaced_keyword">is_namespaced_keyword</a><a href="#method.as_nil">as_nil</a><a href="#method.as_boolean">as_boolean</a><a href="#method.as_integer">as_integer</a><a href="#method.as_instant">as_instant</a><a href="#method.as_float">as_float</a><a href="#method.as_big_integer">as_big_integer</a><a href="#method.as_ordered_float">as_ordered_float</a><a href="#method.as_text">as_text</a><a href="#method.as_uuid">as_uuid</a><a href="#method.as_symbol">as_symbol</a><a href="#method.as_namespaced_symbol">as_namespaced_symbol</a><a href="#method.as_keyword">as_keyword</a><a href="#method.as_plain_keyword">as_plain_keyword</a><a href="#method.as_namespaced_keyword">as_namespaced_keyword</a><a href="#method.as_vector">as_vector</a><a href="#method.as_list">as_list</a><a href="#method.as_set">as_set</a><a href="#method.as_map">as_map</a><a href="#method.into_boolean">into_boolean</a><a href="#method.into_integer">into_integer</a><a href="#method.into_instant">into_instant</a><a href="#method.into_big_integer">into_big_integer</a><a href="#method.into_ordered_float">into_ordered_float</a><a href="#method.into_float">into_float</a><a href="#method.into_text">into_text</a><a href="#method.into_uuid">into_uuid</a><a href="#method.into_symbol">into_symbol</a><a href="#method.into_namespaced_symbol">into_namespaced_symbol</a><a href="#method.into_keyword">into_keyword</a><a href="#method.into_plain_keyword">into_plain_keyword</a><a href="#method.into_namespaced_keyword">into_namespaced_keyword</a><a href="#method.into_vector">into_vector</a><a href="#method.into_list">into_list</a><a href="#method.into_set">into_set</a><a href="#method.into_map">into_map</a><a href="#method.from_bigint">from_bigint</a><a href="#method.from_float">from_float</a><a href="#method.from_ordered_float">from_ordered_float</a><a href="#method.from_symbol">from_symbol</a><a href="#method.from_keyword">from_keyword</a><a href="#method.is_collection">is_collection</a><a href="#method.is_atom">is_atom</a><a href="#method.into_atom">into_atom</a><a href="#method.to_pretty">to_pretty</a><a href="#method.matches">matches</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-PartialEq">PartialEq</a><a href="#impl-Eq">Eq</a><a href="#impl-Hash">Hash</a><a href="#impl-Clone">Clone</a><a href="#impl-Debug">Debug</a><a href="#impl-From%3CSpannedValue%3E">From<SpannedValue></a><a href="#impl-From%3CValueAndSpan%3E">From<ValueAndSpan></a><a href="#impl-PartialOrd">PartialOrd</a><a href="#impl-Ord">Ord</a><a href="#impl-Display">Display</a></div></div><p class='location'><a href='../index.html'>edn</a>::<wbr><a href='index.html'>types</a></p><script>window.sidebarCurrent = {name: 'Value', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script></div>
|
||
</nav>
|
||
|
||
<div class="theme-picker">
|
||
<button id="theme-picker" aria-label="Pick another theme!">
|
||
<img src="../../brush.svg" width="18" alt="Pick another theme!">
|
||
</button>
|
||
<div id="theme-choices"></div>
|
||
</div>
|
||
<script src="../../theme.js"></script>
|
||
<nav class="sub">
|
||
<form class="search-form js-only">
|
||
<div class="search-container">
|
||
<input class="search-input" name="search"
|
||
autocomplete="off"
|
||
placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
|
||
type="search">
|
||
</div>
|
||
</form>
|
||
</nav>
|
||
|
||
<section id='main' class="content">
|
||
<h1 class='fqn'><span class='in-band'>Enum <a href='../index.html'>edn</a>::<wbr><a href='index.html'>types</a>::<wbr><a class="enum" href=''>Value</a></span><span class='out-of-band'><span id='render-detail'>
|
||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||
[<span class='inner'>−</span>]
|
||
</a>
|
||
</span><a class='srclink' href='../../src/edn/types.rs.html#32-55' title='goto source code'>[src]</a></span></h1>
|
||
<pre class='rust enum'>pub enum Value {
|
||
Nil,
|
||
Boolean(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>),
|
||
Integer(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>),
|
||
Instant(<a class="struct" href="../../edn/struct.DateTime.html" title="struct edn::DateTime">DateTime</a><<a class="struct" href="../../edn/struct.Utc.html" title="struct edn::Utc">Utc</a>>),
|
||
BigInteger(<a class="struct" href="../../edn/struct.BigInt.html" title="struct edn::BigInt">BigInt</a>),
|
||
Float(<a class="struct" href="../../edn/struct.OrderedFloat.html" title="struct edn::OrderedFloat">OrderedFloat</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>>),
|
||
Text(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
|
||
Uuid(<a class="struct" href="../../edn/struct.Uuid.html" title="struct edn::Uuid">Uuid</a>),
|
||
PlainSymbol(<a class="struct" href="../../edn/symbols/struct.PlainSymbol.html" title="struct edn::symbols::PlainSymbol">PlainSymbol</a>),
|
||
NamespacedSymbol(<a class="struct" href="../../edn/symbols/struct.NamespacedSymbol.html" title="struct edn::symbols::NamespacedSymbol">NamespacedSymbol</a>),
|
||
Keyword(<a class="struct" href="../../edn/symbols/struct.Keyword.html" title="struct edn::symbols::Keyword">Keyword</a>),
|
||
Vector(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>>),
|
||
List(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/linked_list/struct.LinkedList.html" title="struct alloc::linked_list::LinkedList">LinkedList</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>>),
|
||
Set(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/btree/set/struct.BTreeSet.html" title="struct alloc::btree::set::BTreeSet">BTreeSet</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>>),
|
||
Map(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/btree/map/struct.BTreeMap.html" title="struct alloc::btree::map::BTreeMap">BTreeMap</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>, <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>>),
|
||
}</pre><div class='docblock'><p>Value represents one of the allowed values in an EDN string.</p>
|
||
</div><h2 id='variants' class='variants small-section-header'>
|
||
Variants<a href='#variants' class='anchor'></a></h2>
|
||
<span id="variant.Nil" class="variant small-section-header"><a href="#variant.Nil" class="anchor field"></a><span id='Nil.v' class='invisible'><code>Nil</code></span></span><span id="variant.Boolean" class="variant small-section-header"><a href="#variant.Boolean" class="anchor field"></a><span id='Boolean.v' class='invisible'><code>Boolean(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>)</code></span></span><span id="variant.Integer" class="variant small-section-header"><a href="#variant.Integer" class="anchor field"></a><span id='Integer.v' class='invisible'><code>Integer(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>)</code></span></span><span id="variant.Instant" class="variant small-section-header"><a href="#variant.Instant" class="anchor field"></a><span id='Instant.v' class='invisible'><code>Instant(<a class="struct" href="../../edn/struct.DateTime.html" title="struct edn::DateTime">DateTime</a><<a class="struct" href="../../edn/struct.Utc.html" title="struct edn::Utc">Utc</a>>)</code></span></span><span id="variant.BigInteger" class="variant small-section-header"><a href="#variant.BigInteger" class="anchor field"></a><span id='BigInteger.v' class='invisible'><code>BigInteger(<a class="struct" href="../../edn/struct.BigInt.html" title="struct edn::BigInt">BigInt</a>)</code></span></span><span id="variant.Float" class="variant small-section-header"><a href="#variant.Float" class="anchor field"></a><span id='Float.v' class='invisible'><code>Float(<a class="struct" href="../../edn/struct.OrderedFloat.html" title="struct edn::OrderedFloat">OrderedFloat</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>>)</code></span></span><span id="variant.Text" class="variant small-section-header"><a href="#variant.Text" class="anchor field"></a><span id='Text.v' class='invisible'><code>Text(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></span></span><span id="variant.Uuid" class="variant small-section-header"><a href="#variant.Uuid" class="anchor field"></a><span id='Uuid.v' class='invisible'><code>Uuid(<a class="struct" href="../../edn/struct.Uuid.html" title="struct edn::Uuid">Uuid</a>)</code></span></span><span id="variant.PlainSymbol" class="variant small-section-header"><a href="#variant.PlainSymbol" class="anchor field"></a><span id='PlainSymbol.v' class='invisible'><code>PlainSymbol(<a class="struct" href="../../edn/symbols/struct.PlainSymbol.html" title="struct edn::symbols::PlainSymbol">PlainSymbol</a>)</code></span></span><span id="variant.NamespacedSymbol" class="variant small-section-header"><a href="#variant.NamespacedSymbol" class="anchor field"></a><span id='NamespacedSymbol.v' class='invisible'><code>NamespacedSymbol(<a class="struct" href="../../edn/symbols/struct.NamespacedSymbol.html" title="struct edn::symbols::NamespacedSymbol">NamespacedSymbol</a>)</code></span></span><span id="variant.Keyword" class="variant small-section-header"><a href="#variant.Keyword" class="anchor field"></a><span id='Keyword.v' class='invisible'><code>Keyword(<a class="struct" href="../../edn/symbols/struct.Keyword.html" title="struct edn::symbols::Keyword">Keyword</a>)</code></span></span><span id="variant.Vector" class="variant small-section-header"><a href="#variant.Vector" class="anchor field"></a><span id='Vector.v' class='invisible'><code>Vector(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>>)</code></span></span><span id="variant.List" class="variant small-section-header"><a href="#variant.List" class="anchor field"></a><span id='List.v' class='invisible'><code>List(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/linked_list/struct.LinkedList.html" title="struct alloc::linked_list::LinkedList">LinkedList</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>>)</code></span></span><span id="variant.Set" class="variant small-section-header"><a href="#variant.Set" class="anchor field"></a><span id='Set.v' class='invisible'><code>Set(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/btree/set/struct.BTreeSet.html" title="struct alloc::btree::set::BTreeSet">BTreeSet</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>>)</code></span></span><span id="variant.Map" class="variant small-section-header"><a href="#variant.Map" class="anchor field"></a><span id='Map.v' class='invisible'><code>Map(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/btree/map/struct.BTreeMap.html" title="struct alloc::btree::map::BTreeMap">BTreeMap</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>, <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>>)</code></span></span>
|
||
<h2 id='methods' class='small-section-header'>
|
||
Methods<a href='#methods' class='anchor'></a>
|
||
</h2>
|
||
<h3 id='impl' class='impl'><span class='in-band'><code>impl <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code><a href='#impl' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#133-144' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.with_spans' class="method"><span id='with_spans.v' class='invisible'><code>pub fn <a href='#method.with_spans' class='fnname'>with_spans</a>(self) -> <a class="struct" href="../../edn/types/struct.ValueAndSpan.html" title="struct edn::types::ValueAndSpan">ValueAndSpan</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#137-143' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>For debug use only!</p>
|
||
<p>But right now, it's used in the bootstrapper. We'll fix that soon.</p>
|
||
</div></div><h3 id='impl-1' class='impl'><span class='in-band'><code>impl <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code><a href='#impl-1' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#579-581' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.is_nil' class="method"><span id='is_nil.v' class='invisible'><code>pub fn <a href='#method.is_nil' class='fnname'>is_nil</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#200-202' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.is_boolean' class="method"><span id='is_boolean.v' class='invisible'><code>pub fn <a href='#method.is_boolean' class='fnname'>is_boolean</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#200-202' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.is_integer' class="method"><span id='is_integer.v' class='invisible'><code>pub fn <a href='#method.is_integer' class='fnname'>is_integer</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#200-202' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.is_instant' class="method"><span id='is_instant.v' class='invisible'><code>pub fn <a href='#method.is_instant' class='fnname'>is_instant</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#200-202' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.is_big_integer' class="method"><span id='is_big_integer.v' class='invisible'><code>pub fn <a href='#method.is_big_integer' class='fnname'>is_big_integer</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#200-202' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.is_float' class="method"><span id='is_float.v' class='invisible'><code>pub fn <a href='#method.is_float' class='fnname'>is_float</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#200-202' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.is_text' class="method"><span id='is_text.v' class='invisible'><code>pub fn <a href='#method.is_text' class='fnname'>is_text</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#200-202' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.is_uuid' class="method"><span id='is_uuid.v' class='invisible'><code>pub fn <a href='#method.is_uuid' class='fnname'>is_uuid</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#200-202' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.is_symbol' class="method"><span id='is_symbol.v' class='invisible'><code>pub fn <a href='#method.is_symbol' class='fnname'>is_symbol</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#200-202' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.is_namespaced_symbol' class="method"><span id='is_namespaced_symbol.v' class='invisible'><code>pub fn <a href='#method.is_namespaced_symbol' class='fnname'>is_namespaced_symbol</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#200-202' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.is_vector' class="method"><span id='is_vector.v' class='invisible'><code>pub fn <a href='#method.is_vector' class='fnname'>is_vector</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#200-202' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.is_list' class="method"><span id='is_list.v' class='invisible'><code>pub fn <a href='#method.is_list' class='fnname'>is_list</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#200-202' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.is_set' class="method"><span id='is_set.v' class='invisible'><code>pub fn <a href='#method.is_set' class='fnname'>is_set</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#200-202' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.is_map' class="method"><span id='is_map.v' class='invisible'><code>pub fn <a href='#method.is_map' class='fnname'>is_map</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#200-202' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.is_keyword' class="method"><span id='is_keyword.v' class='invisible'><code>pub fn <a href='#method.is_keyword' class='fnname'>is_keyword</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.is_namespaced_keyword' class="method"><span id='is_namespaced_keyword.v' class='invisible'><code>pub fn <a href='#method.is_namespaced_keyword' class='fnname'>is_namespaced_keyword</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#323-328' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.as_nil' class="method"><span id='as_nil.v' class='invisible'><code>pub fn <a href='#method.as_nil' class='fnname'>as_nil</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#332-334' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p><code>as_nil</code> does not use the macro as it does not have an underlying
|
||
value, and returns <code>Option<()></code>.</p>
|
||
</div><h4 id='method.as_boolean' class="method"><span id='as_boolean.v' class='invisible'><code>pub fn <a href='#method.as_boolean' class='fnname'>as_boolean</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#211-213' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.as_integer' class="method"><span id='as_integer.v' class='invisible'><code>pub fn <a href='#method.as_integer' class='fnname'>as_integer</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#211-213' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.as_instant' class="method"><span id='as_instant.v' class='invisible'><code>pub fn <a href='#method.as_instant' class='fnname'>as_instant</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../edn/struct.DateTime.html" title="struct edn::DateTime">DateTime</a><<a class="struct" href="../../edn/struct.Utc.html" title="struct edn::Utc">Utc</a>>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#211-213' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.as_float' class="method"><span id='as_float.v' class='invisible'><code>pub fn <a href='#method.as_float' class='fnname'>as_float</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#211-213' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.as_big_integer' class="method"><span id='as_big_integer.v' class='invisible'><code>pub fn <a href='#method.as_big_integer' class='fnname'>as_big_integer</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../../edn/struct.BigInt.html" title="struct edn::BigInt">BigInt</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#222-224' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.as_ordered_float' class="method"><span id='as_ordered_float.v' class='invisible'><code>pub fn <a href='#method.as_ordered_float' class='fnname'>as_ordered_float</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../../edn/struct.OrderedFloat.html" title="struct edn::OrderedFloat">OrderedFloat</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#222-224' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.as_text' class="method"><span id='as_text.v' class='invisible'><code>pub fn <a href='#method.as_text' class='fnname'>as_text</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#222-224' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.as_uuid' class="method"><span id='as_uuid.v' class='invisible'><code>pub fn <a href='#method.as_uuid' class='fnname'>as_uuid</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../../edn/struct.Uuid.html" title="struct edn::Uuid">Uuid</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#222-224' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.as_symbol' class="method"><span id='as_symbol.v' class='invisible'><code>pub fn <a href='#method.as_symbol' class='fnname'>as_symbol</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../../edn/symbols/struct.PlainSymbol.html" title="struct edn::symbols::PlainSymbol">PlainSymbol</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#222-224' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.as_namespaced_symbol' class="method"><span id='as_namespaced_symbol.v' class='invisible'><code>pub fn <a href='#method.as_namespaced_symbol' class='fnname'>as_namespaced_symbol</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../../edn/symbols/struct.NamespacedSymbol.html" title="struct edn::symbols::NamespacedSymbol">NamespacedSymbol</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#222-224' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.as_keyword' class="method"><span id='as_keyword.v' class='invisible'><code>pub fn <a href='#method.as_keyword' class='fnname'>as_keyword</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../../edn/symbols/struct.Keyword.html" title="struct edn::symbols::Keyword">Keyword</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#348-353' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.as_plain_keyword' class="method"><span id='as_plain_keyword.v' class='invisible'><code>pub fn <a href='#method.as_plain_keyword' class='fnname'>as_plain_keyword</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../../edn/symbols/struct.Keyword.html" title="struct edn::symbols::Keyword">Keyword</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#355-360' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.as_namespaced_keyword' class="method"><span id='as_namespaced_keyword.v' class='invisible'><code>pub fn <a href='#method.as_namespaced_keyword' class='fnname'>as_namespaced_keyword</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../../edn/symbols/struct.Keyword.html" title="struct edn::symbols::Keyword">Keyword</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#362-367' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.as_vector' class="method"><span id='as_vector.v' class='invisible'><code>pub fn <a href='#method.as_vector' class='fnname'>as_vector</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#222-224' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.as_list' class="method"><span id='as_list.v' class='invisible'><code>pub fn <a href='#method.as_list' class='fnname'>as_list</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/linked_list/struct.LinkedList.html" title="struct alloc::linked_list::LinkedList">LinkedList</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#222-224' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.as_set' class="method"><span id='as_set.v' class='invisible'><code>pub fn <a href='#method.as_set' class='fnname'>as_set</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/btree/set/struct.BTreeSet.html" title="struct alloc::btree::set::BTreeSet">BTreeSet</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#222-224' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.as_map' class="method"><span id='as_map.v' class='invisible'><code>pub fn <a href='#method.as_map' class='fnname'>as_map</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/btree/map/struct.BTreeMap.html" title="struct alloc::btree::map::BTreeMap">BTreeMap</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>, <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#222-224' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_boolean' class="method"><span id='into_boolean.v' class='invisible'><code>pub fn <a href='#method.into_boolean' class='fnname'>into_boolean</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#233-235' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_integer' class="method"><span id='into_integer.v' class='invisible'><code>pub fn <a href='#method.into_integer' class='fnname'>into_integer</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#233-235' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_instant' class="method"><span id='into_instant.v' class='invisible'><code>pub fn <a href='#method.into_instant' class='fnname'>into_instant</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../edn/struct.DateTime.html" title="struct edn::DateTime">DateTime</a><<a class="struct" href="../../edn/struct.Utc.html" title="struct edn::Utc">Utc</a>>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#233-235' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_big_integer' class="method"><span id='into_big_integer.v' class='invisible'><code>pub fn <a href='#method.into_big_integer' class='fnname'>into_big_integer</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../edn/struct.BigInt.html" title="struct edn::BigInt">BigInt</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#233-235' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_ordered_float' class="method"><span id='into_ordered_float.v' class='invisible'><code>pub fn <a href='#method.into_ordered_float' class='fnname'>into_ordered_float</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../edn/struct.OrderedFloat.html" title="struct edn::OrderedFloat">OrderedFloat</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#233-235' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_float' class="method"><span id='into_float.v' class='invisible'><code>pub fn <a href='#method.into_float' class='fnname'>into_float</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#233-235' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_text' class="method"><span id='into_text.v' class='invisible'><code>pub fn <a href='#method.into_text' class='fnname'>into_text</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#233-235' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_uuid' class="method"><span id='into_uuid.v' class='invisible'><code>pub fn <a href='#method.into_uuid' class='fnname'>into_uuid</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../edn/struct.Uuid.html" title="struct edn::Uuid">Uuid</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#233-235' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_symbol' class="method"><span id='into_symbol.v' class='invisible'><code>pub fn <a href='#method.into_symbol' class='fnname'>into_symbol</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../edn/symbols/struct.PlainSymbol.html" title="struct edn::symbols::PlainSymbol">PlainSymbol</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#233-235' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_namespaced_symbol' class="method"><span id='into_namespaced_symbol.v' class='invisible'><code>pub fn <a href='#method.into_namespaced_symbol' class='fnname'>into_namespaced_symbol</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../edn/symbols/struct.NamespacedSymbol.html" title="struct edn::symbols::NamespacedSymbol">NamespacedSymbol</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#233-235' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_keyword' class="method"><span id='into_keyword.v' class='invisible'><code>pub fn <a href='#method.into_keyword' class='fnname'>into_keyword</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../edn/symbols/struct.Keyword.html" title="struct edn::symbols::Keyword">Keyword</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#385-390' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_plain_keyword' class="method"><span id='into_plain_keyword.v' class='invisible'><code>pub fn <a href='#method.into_plain_keyword' class='fnname'>into_plain_keyword</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../edn/symbols/struct.Keyword.html" title="struct edn::symbols::Keyword">Keyword</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#392-403' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_namespaced_keyword' class="method"><span id='into_namespaced_keyword.v' class='invisible'><code>pub fn <a href='#method.into_namespaced_keyword' class='fnname'>into_namespaced_keyword</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../edn/symbols/struct.Keyword.html" title="struct edn::symbols::Keyword">Keyword</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#405-416' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_vector' class="method"><span id='into_vector.v' class='invisible'><code>pub fn <a href='#method.into_vector' class='fnname'>into_vector</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#233-235' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_list' class="method"><span id='into_list.v' class='invisible'><code>pub fn <a href='#method.into_list' class='fnname'>into_list</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/linked_list/struct.LinkedList.html" title="struct alloc::linked_list::LinkedList">LinkedList</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#233-235' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_set' class="method"><span id='into_set.v' class='invisible'><code>pub fn <a href='#method.into_set' class='fnname'>into_set</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/btree/set/struct.BTreeSet.html" title="struct alloc::btree::set::BTreeSet">BTreeSet</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#233-235' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_map' class="method"><span id='into_map.v' class='invisible'><code>pub fn <a href='#method.into_map' class='fnname'>into_map</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/btree/map/struct.BTreeMap.html" title="struct alloc::btree::map::BTreeMap">BTreeMap</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>, <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#233-235' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.from_bigint' class="method"><span id='from_bigint.v' class='invisible'><code>pub fn <a href='#method.from_bigint' class='fnname'>from_bigint</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#189-192' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.from_float' class="method"><span id='from_float.v' class='invisible'><code>pub fn <a href='#method.from_float' class='fnname'>from_float</a>(src: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#178-181' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.from_ordered_float' class="method"><span id='from_ordered_float.v' class='invisible'><code>pub fn <a href='#method.from_ordered_float' class='fnname'>from_ordered_float</a>(src: <a class="struct" href="../../edn/struct.OrderedFloat.html" title="struct edn::OrderedFloat">OrderedFloat</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>>) -> <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#178-181' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.from_symbol' class="method"><span id='from_symbol.v' class='invisible'><code>pub fn <a href='#method.from_symbol' class='fnname'>from_symbol</a><'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>>>(<br> namespace: T, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#428-430' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.from_keyword' class="method"><span id='from_keyword.v' class='invisible'><code>pub fn <a href='#method.from_keyword' class='fnname'>from_keyword</a><'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>>>(<br> namespace: T, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#432-434' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.is_collection' class="method"><span id='is_collection.v' class='invisible'><code>pub fn <a href='#method.is_collection' class='fnname'>is_collection</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#457-475' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.is_atom' class="method"><span id='is_atom.v' class='invisible'><code>pub fn <a href='#method.is_atom' class='fnname'>is_atom</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#477-479' title='goto source code'>[src]</a></span></h4>
|
||
<h4 id='method.into_atom' class="method"><span id='into_atom.v' class='invisible'><code>pub fn <a href='#method.into_atom' class='fnname'>into_atom</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#481-487' title='goto source code'>[src]</a></span></h4>
|
||
</div><h3 id='impl-2' class='impl'><span class='in-band'><code>impl <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code><a href='#impl-2' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/pretty_print.rs.html#23-80' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.to_pretty' class="method"><span id='to_pretty.v' class='invisible'><code>pub fn <a href='#method.to_pretty' class='fnname'>to_pretty</a>(&self, width: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/pretty_print.rs.html#25-29' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>Return a pretty string representation of this <code>Value</code>.</p>
|
||
</div></div><h3 id='impl-3' class='impl'><span class='in-band'><code>impl <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code><a href='#impl-3' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/matcher.rs.html#107-113' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.matches' class="method"><span id='matches.v' class='invisible'><code>pub fn <a href='#method.matches' class='fnname'>matches</a>(&self, pattern: &<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/matcher.rs.html#110-112' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>Performs default pattern matching between this value and some <code>pattern</code>.
|
||
Returns true if matching succeeds.</p>
|
||
</div></div>
|
||
<h2 id='implementations' class='small-section-header'>
|
||
Trait Implementations<a href='#implementations' class='anchor'></a>
|
||
</h2>
|
||
<h3 id='impl-PartialEq' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code><a href='#impl-PartialEq' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#31' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.eq' class="method"><span id='eq.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, __arg_0: &<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#31' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
|
||
</div><h4 id='method.ne' class="method"><span id='ne.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, __arg_0: &<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#31' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||
</div></div><h3 id='impl-Eq' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code><a href='#impl-Eq' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#31' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'></div><h3 id='impl-Hash' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code><a href='#impl-Hash' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#31' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.hash' class="method"><span id='hash.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a><__H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>>(&self, __arg_0: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>__H)</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#31' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
|
||
</div><h4 id='method.hash_slice' class="method"><span id='hash_slice.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a><H>(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>H) <span class="where fmt-newline">where<br> H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.3.0'>1.3.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#202-208' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
|
||
</div></div><h3 id='impl-Clone' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code><a href='#impl-Clone' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#31' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#31' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
||
</div><h4 id='method.clone_from' class="method"><span id='clone_from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#112-114' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
||
</div></div><h3 id='impl-Debug' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code><a href='#impl-Debug' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#31' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, __arg_0: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#31' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
|
||
</div></div><h3 id='impl-From%3CSpannedValue%3E' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="../../edn/types/enum.SpannedValue.html" title="enum edn::types::SpannedValue">SpannedValue</a>> for <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code><a href='#impl-From%3CSpannedValue%3E' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#146-166' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.from' class="method"><span id='from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(src: <a class="enum" href="../../edn/types/enum.SpannedValue.html" title="enum edn::types::SpannedValue">SpannedValue</a>) -> <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#147-165' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>Performs the conversion.</p>
|
||
</div></div><h3 id='impl-From%3CValueAndSpan%3E' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../edn/types/struct.ValueAndSpan.html" title="struct edn::types::ValueAndSpan">ValueAndSpan</a>> for <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code><a href='#impl-From%3CValueAndSpan%3E' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#168-172' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.from-1' class="method"><span id='from.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(src: <a class="struct" href="../../edn/types/struct.ValueAndSpan.html" title="struct edn::types::ValueAndSpan">ValueAndSpan</a>) -> <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#169-171' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>Performs the conversion.</p>
|
||
</div></div><h3 id='impl-PartialOrd' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a> for <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code><a href='#impl-PartialOrd' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#583-587' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.partial_cmp' class="method"><span id='partial_cmp.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp' class='fnname'>partial_cmp</a>(&self, other: &<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#584-586' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></p>
|
||
</div><h4 id='method.lt' class="method"><span id='lt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt' class='fnname'>lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#644-649' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></p>
|
||
</div><h4 id='method.le' class="method"><span id='le.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le' class='fnname'>le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#666-671' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code><=</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le">Read more</a></p>
|
||
</div><h4 id='method.gt' class="method"><span id='gt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt' class='fnname'>gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#687-692' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></p>
|
||
</div><h4 id='method.ge' class="method"><span id='ge.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge' class='fnname'>ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#709-714' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>>=</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></p>
|
||
</div></div><h3 id='impl-Ord' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code><a href='#impl-Ord' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#589-593' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.cmp' class="method"><span id='cmp.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp' class='fnname'>cmp</a>(&self, other: &<a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#590-592' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>This method returns an <code>Ordering</code> between <code>self</code> and <code>other</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></p>
|
||
</div><h4 id='method.max' class="method"><span id='max.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max' class='fnname'>max</a>(self, other: Self) -> Self</code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.21.0'>1.21.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#460-463' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>Compares and returns the maximum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max">Read more</a></p>
|
||
</div><h4 id='method.min' class="method"><span id='min.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min' class='fnname'>min</a>(self, other: Self) -> Self</code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.21.0'>1.21.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#476-479' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>Compares and returns the minimum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min">Read more</a></p>
|
||
</div></div><h3 id='impl-Display' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="enum" href="../../edn/types/enum.Value.html" title="enum edn::types::Value">Value</a></code><a href='#impl-Display' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#595-599' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.fmt-1' class="method"><span id='fmt.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/edn/types.rs.html#596-598' title='goto source code'>[src]</a></span></h4>
|
||
<div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
|
||
</div></div></section>
|
||
<section id='search' class="content hidden"></section>
|
||
|
||
<section class="footer"></section>
|
||
|
||
<aside id="help" class="hidden">
|
||
<div>
|
||
<h1 class="hidden">Help</h1>
|
||
|
||
<div class="shortcuts">
|
||
<h2>Keyboard Shortcuts</h2>
|
||
|
||
<dl>
|
||
<dt><kbd>?</kbd></dt>
|
||
<dd>Show this help dialog</dd>
|
||
<dt><kbd>S</kbd></dt>
|
||
<dd>Focus the search field</dd>
|
||
<dt><kbd>↑</kbd></dt>
|
||
<dd>Move up in search results</dd>
|
||
<dt><kbd>↓</kbd></dt>
|
||
<dd>Move down in search results</dd>
|
||
<dt><kbd>↹</kbd></dt>
|
||
<dd>Switch tab</dd>
|
||
<dt><kbd>⏎</kbd></dt>
|
||
<dd>Go to active search result</dd>
|
||
<dt><kbd>+</kbd></dt>
|
||
<dd>Expand all sections</dd>
|
||
<dt><kbd>-</kbd></dt>
|
||
<dd>Collapse all sections</dd>
|
||
</dl>
|
||
</div>
|
||
|
||
<div class="infos">
|
||
<h2>Search Tricks</h2>
|
||
|
||
<p>
|
||
Prefix searches with a type followed by a colon (e.g.
|
||
<code>fn:</code>) to restrict the search to a given type.
|
||
</p>
|
||
|
||
<p>
|
||
Accepted types are: <code>fn</code>, <code>mod</code>,
|
||
<code>struct</code>, <code>enum</code>,
|
||
<code>trait</code>, <code>type</code>, <code>macro</code>,
|
||
and <code>const</code>.
|
||
</p>
|
||
|
||
<p>
|
||
Search functions by type signature (e.g.
|
||
<code>vec -> usize</code> or <code>* -> vec</code>)
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</aside>
|
||
|
||
|
||
|
||
<script>
|
||
window.rootPath = "../../";
|
||
window.currentCrate = "edn";
|
||
</script>
|
||
<script src="../../main.js"></script>
|
||
<script defer src="../../search-index.js"></script>
|
||
</body>
|
||
</html> |